@import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900");

:root {
  color-scheme: light;
  --edu-navy: #080516;
  --edu-navy-2: #12073d;
  --edu-purple: #7c3aed;
  --edu-purple-2: #a855f7;
  --edu-pink: #dc8cdb;
  --edu-lilac: #f4e8ff;
  --edu-text: #111827;
  --edu-muted: #6b7280;
  --edu-line: #eef0f7;
  --edu-code-next: "Code Next", "CodeNext", "Open Sans", ui-sans-serif, system-ui, sans-serif;
}

/* Portfolio gallery and profile settings routes. */
.bfl-portfolio-gallery-section {
  width: min(1480px, calc(100% - 48px));
  margin: 42px auto 80px;
  color: #fff;
}

.bfl-portfolio-gallery-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 20%, rgba(213, 82, 163, 0.24), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(124, 58, 237, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(16, 0, 31, 0.88), rgba(52, 9, 78, 0.7));
  box-shadow: 0 34px 90px rgba(10, 0, 20, 0.42);
}

.bfl-portfolio-gallery-head {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(520px, 100%);
  padding: 42px 46px 0;
}

.bfl-portfolio-gallery-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bfl-portfolio-gallery-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.bfl-portfolio-gallery-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.7;
}

.bfl-portfolio-gallery-head a {
  width: max-content;
  margin-top: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #d552a3);
  text-decoration: none;
  font-weight: 900;
}

.bfl-portfolio-gallery-stage {
  position: absolute;
  inset: 0 0 0 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1300px;
  transform-style: preserve-3d;
  padding: 0 58px 96px;
}

.bfl-portfolio-gallery-card {
  position: relative;
  z-index: var(--bfl-gallery-z);
  width: clamp(190px, 18vw, 286px);
  aspect-ratio: 0.72;
  margin-left: clamp(-104px, -7vw, -72px);
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: -16px 26px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(var(--bfl-gallery-y)) rotateY(-42deg) rotateZ(-1deg);
  transform-origin: center bottom;
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 420ms ease, filter 420ms ease;
  animation: bflPortfolioRise 720ms both;
  animation-delay: var(--bfl-gallery-delay);
}

.bfl-portfolio-gallery-card:first-child {
  margin-left: 0;
}

.bfl-portfolio-gallery-card img,
.bfl-portfolio-gallery-marquee img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bfl-portfolio-gallery-card img {
  filter: saturate(0.95) contrast(0.95);
  transition: transform 620ms ease, filter 420ms ease;
}

.bfl-portfolio-gallery-card span,
.bfl-portfolio-gallery-marquee span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(11, 0, 24, 0.62);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.bfl-portfolio-gallery-card:hover,
.bfl-portfolio-gallery-card:focus-visible {
  z-index: 30;
  outline: none;
  transform: translateY(-148px) rotateY(-12deg) rotateZ(0deg) scale(1.06);
  box-shadow: 0 38px 90px rgba(213, 82, 163, 0.36);
}

.bfl-portfolio-gallery-card:hover img,
.bfl-portfolio-gallery-card:focus-visible img {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.05);
}

.bfl-portfolio-gallery-marquee {
  display: none;
}

.bfl-portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(5, 0, 12, 0.82);
  backdrop-filter: blur(18px);
}

.bfl-portfolio-lightbox.is-open {
  display: grid;
}

.bfl-portfolio-lightbox button {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 26px;
  cursor: pointer;
}

.bfl-portfolio-lightbox figure {
  width: min(980px, 94vw);
  margin: 0;
}

.bfl-portfolio-lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
}

.bfl-portfolio-lightbox figcaption {
  margin-top: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.bfl-portfolio-gallery-section--empty .bfl-portfolio-gallery-shell {
  min-height: 340px;
  display: grid;
  align-items: center;
}

.bfl-portfolio-gallery-section--empty .bfl-profile-empty {
  margin: 24px 46px 46px;
  border-color: rgba(213, 82, 163, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
}

@keyframes bflPortfolioRise {
  from {
    opacity: 0;
    transform: translateY(40px) rotateY(-52deg) scale(0.92);
  }
}

.bfl-settings-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 82, 163, 0.2), transparent 30%),
    linear-gradient(180deg, #fbf9ff 0%, #f5f7ff 100%);
}

.bfl-settings-hero,
.bfl-settings-grid,
.bfl-profile-settings-layout {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.bfl-settings-hero {
  padding: 46px 0 22px;
}

.bfl-settings-hero span {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bfl-settings-hero h1 {
  margin: 8px 0;
  color: #11142d;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0;
}

.bfl-settings-hero p {
  max-width: 680px;
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.bfl-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 70px;
}

.bfl-settings-card,
.bfl-profile-settings-form,
.bfl-gallery-manager {
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(23, 16, 54, 0.08);
}

.bfl-settings-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  color: #11142d;
  text-decoration: none;
}

.bfl-settings-card strong {
  font-size: 20px;
}

.bfl-settings-card span {
  color: #667085;
  line-height: 1.6;
}

.bfl-profile-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.bfl-profile-settings-form,
.bfl-gallery-manager {
  padding: 24px;
}

.bfl-profile-settings-form {
  display: grid;
  gap: 14px;
}

.bfl-profile-settings-form__head,
.bfl-gallery-manager__head {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.bfl-profile-settings-form__head strong,
.bfl-gallery-manager__head h2 {
  color: #11142d;
  font-size: 22px;
  font-weight: 900;
}

.bfl-profile-settings-form small,
.bfl-gallery-manager small {
  color: #667085;
}

.bfl-profile-settings-form small[data-state="success"],
.bfl-gallery-manager small[data-state="success"] {
  color: #079455;
}

.bfl-profile-settings-form small[data-state="error"],
.bfl-gallery-manager small[data-state="error"] {
  color: #d92d20;
}

.bfl-profile-settings-form label,
.bfl-gallery-upload label {
  display: grid;
  gap: 8px;
  color: #11142d;
  font-size: 13px;
  font-weight: 900;
}

.bfl-profile-settings-form input,
.bfl-profile-settings-form textarea,
.bfl-gallery-upload input {
  width: 100%;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  color: #11142d;
  background: #fff;
  font: inherit;
}

.bfl-profile-settings-form textarea {
  resize: vertical;
}

.bfl-profile-settings-form input:focus,
.bfl-profile-settings-form textarea:focus,
.bfl-gallery-upload input:focus {
  outline: none;
  border-color: rgba(213, 82, 163, 0.66);
  box-shadow: 0 0 0 4px rgba(213, 82, 163, 0.12);
}

.bfl-profile-settings-form button,
.bfl-gallery-upload button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #d552a3);
  font-weight: 900;
  cursor: pointer;
}

.bfl-gallery-manager {
  display: grid;
  gap: 18px;
}

.bfl-gallery-manager__head span {
  color: #d552a3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bfl-gallery-manager__head h2,
.bfl-gallery-manager__head p {
  margin: 0;
}

.bfl-gallery-manager__head p {
  color: #667085;
  line-height: 1.6;
}

.bfl-gallery-upload {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}

.bfl-gallery-list {
  display: grid;
  gap: 12px;
}

.bfl-gallery-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 18px;
  padding: 10px;
  background: #fff;
}

.bfl-gallery-row img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}

.bfl-gallery-row strong,
.bfl-gallery-row small {
  display: block;
}

.bfl-gallery-row strong {
  color: #11142d;
}

.bfl-gallery-row small {
  color: #667085;
  margin-top: 4px;
}

.bfl-gallery-row button {
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  color: #4f35d4;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.bfl-gallery-row button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.bfl-gallery-row button[data-gallery-delete] {
  color: #d92d20;
}

@media (max-width: 980px) {
  .bfl-portfolio-gallery-section,
  .bfl-settings-hero,
  .bfl-settings-grid,
  .bfl-profile-settings-layout {
    width: min(100% - 28px, 720px);
  }

  .bfl-portfolio-gallery-shell {
    min-height: 470px;
  }

  .bfl-portfolio-gallery-head {
    padding: 30px 24px 0;
  }

  .bfl-portfolio-gallery-stage {
    display: none;
  }

  .bfl-portfolio-gallery-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 46px;
    display: block;
    overflow: hidden;
  }

  .bfl-portfolio-gallery-marquee > div {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: bflPortfolioMarquee 26s linear infinite;
  }

  .bfl-portfolio-gallery-marquee button {
    position: relative;
    width: 220px;
    aspect-ratio: 0.72;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
  }

  @keyframes bflPortfolioMarquee {
    to {
      transform: translateX(calc(-50% - 8px));
    }
  }

  .bfl-settings-grid,
  .bfl-profile-settings-layout,
  .bfl-gallery-upload {
    grid-template-columns: 1fr;
  }

  .bfl-gallery-row {
    grid-template-columns: 76px 1fr;
  }

  .bfl-gallery-row button {
    width: 100%;
  }
}

.bfl-dashboard-page--platform .bfl-dash-user {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.bfl-dashboard-page--platform .bfl-dash-user:hover,
.bfl-dashboard-page--platform .bfl-dash-user:focus-visible {
  outline: none;
}

.bfl-dashboard-page--platform .bfl-dash-user:hover img,
.bfl-dashboard-page--platform .bfl-dash-user:focus-visible img {
  box-shadow: 0 0 0 4px rgba(90, 57, 240, 0.12);
}

.bfl-dashboard-page--platform .bfl-dash-user > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #5a39f0;
  background: #f2efff;
}

.bfl-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.bfl-profile-trigger {
  display: flex;
  align-items: center;
  gap: 42px;
  min-width: 228px;
  max-width: 280px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #10172f;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 14px 34px rgba(20, 23, 55, 0.06);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bfl-profile-trigger:hover,
.bfl-profile-trigger:focus-visible,
.bfl-profile-dropdown.is-open .bfl-profile-trigger {
  outline: none;
  border-color: rgba(83, 54, 232, 0.32);
  background: #fff;
  box-shadow: 0 18px 44px rgba(83, 54, 232, 0.12);
  transform: translateY(-1px);
}

.bfl-profile-trigger__text {
  flex: 1;
  min-width: 0;
}

.bfl-profile-trigger__text strong {
  display: block;
  overflow: hidden;
  color: #10172f;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfl-profile-trigger__text small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #69728f;
  font-size: 12px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfl-profile-trigger__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d38f0, #d552a3, #f7a538);
  padding: 2px;
}

.bfl-profile-trigger__avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: inherit;
  object-fit: cover;
}

.bfl-profile-trigger__curve {
  position: absolute;
  top: 50%;
  right: -14px;
  display: grid;
  color: #9aa3bb;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.bfl-profile-dropdown.is-open .bfl-profile-trigger__curve {
  color: #5336e8;
  transform: translateY(-50%) scale(1.08);
}

.bfl-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(320px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.bfl-profile-dropdown.is-open .bfl-profile-menu,
.bfl-profile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.bfl-profile-menu__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.bfl-profile-menu__head img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
}

.bfl-profile-menu__head strong,
.bfl-profile-menu__items strong {
  display: block;
  color: #10172f;
  font-size: 14px;
  font-weight: 850;
}

.bfl-profile-menu__head small,
.bfl-profile-menu__items small {
  display: block;
  margin-top: 2px;
  color: #737c98;
  font-size: 12px;
}

.bfl-profile-menu__items {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}

.bfl-profile-menu__items button,
.bfl-profile-menu__logout {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #10172f;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bfl-profile-menu__items button:hover,
.bfl-profile-menu__items button:focus-visible {
  outline: none;
  border-color: rgba(226, 232, 240, 0.92);
  background: #f7f7ff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.bfl-profile-menu .bfl-dash-menu-icon {
  width: 22px;
  height: 22px;
}

.bfl-profile-menu-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 8px 14px rgba(83, 54, 232, 0.18));
}

.bfl-profile-menu-art--becoin {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 38% 30%, rgba(255, 251, 235, 0.95), rgba(245, 158, 11, 0.18) 58%, rgba(124, 58, 237, 0.1));
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2), inset 0 0 0 1px rgba(245, 158, 11, 0.2);
  filter: none;
}

.bfl-profile-menu-art--becoin img {
  width: 145%;
  height: 145%;
  object-fit: cover;
  transform: scale(1.02);
}

.bfl-profile-menu-art:not(.bfl-profile-menu-art--becoin) {
  object-fit: contain;
}

.bfl-profile-menu__logout {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  border-color: rgba(239, 68, 68, 0.14);
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-weight: 800;
}

.bfl-profile-menu__logout:hover,
.bfl-profile-menu__logout:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.46);
  background: #ff073a;
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 7, 58, 0.34), 0 0 24px rgba(255, 7, 58, 0.42);
  transform: translateY(-2px) scale(1.025);
}

.bfl-profile-menu__logout:hover span,
.bfl-profile-menu__logout:focus-visible span {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 18px rgba(255, 7, 58, 0.9);
  animation: bflNeonLogoutText 1s ease-in-out infinite alternate;
}

@keyframes bflNeonLogoutText {
  from { opacity: 0.86; filter: brightness(1); }
  to { opacity: 1; filter: brightness(1.35); }
}

@media (max-width: 900px) {
  .bfl-profile-trigger {
    min-width: 0;
    gap: 0;
    padding: 8px;
  }

  .bfl-profile-trigger__text,
  .bfl-profile-trigger__curve {
    display: none;
  }

  .bfl-profile-trigger__avatar {
    width: 42px;
    height: 42px;
  }

  .bfl-profile-menu {
    right: -8px;
    width: min(310px, calc(100vw - 20px));
  }

  .bfl-account-brief__roles {
    grid-template-columns: 1fr;
  }
}

.bfl-empty-listings {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 238px;
  padding: 32px;
  border: 1px dashed #c9d0e4;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 57, 240, 0.12), transparent 15rem),
    #fff;
  color: #5f6882;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
  text-align: center;
}

.bfl-account-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.bfl-account-drawer.is-open {
  pointer-events: auto;
}

.bfl-account-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 11, 34, 0);
  cursor: pointer;
  transition: background 220ms ease;
}

.bfl-account-drawer.is-open .bfl-account-drawer__backdrop {
  background: rgba(8, 11, 34, 0.28);
}

.bfl-account-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(440px, 100vw);
  height: 100%;
  padding: 26px;
  overflow: auto;
  border-left: 1px solid #e6e9f3;
  background: #fff;
  box-shadow: -24px 0 48px rgba(22, 26, 54, 0.16);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.bfl-account-drawer.is-open .bfl-account-drawer__panel {
  transform: translateX(0);
}

.bfl-account-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e8ebf4;
  border-radius: 10px;
  background: #fff;
  color: #202844;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.bfl-account-drawer__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 46px;
}

.bfl-account-drawer__head img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(83, 54, 232, 0.16);
}

.bfl-account-drawer__head span,
.bfl-account-auth strong,
.bfl-account-brief > span {
  color: #5a39f0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bfl-account-drawer__head h2 {
  margin: 3px 0 2px;
  color: #10172f;
  font-size: 22px;
  line-height: 1.2;
}

.bfl-account-drawer__head p,
.bfl-account-auth p {
  margin: 0;
  color: #6f7896;
  font-size: 13px;
  line-height: 1.5;
}

.bfl-account-auth,
.bfl-account-brief,
.bfl-account-form,
.bfl-account-links {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e9ecf4;
  border-radius: 14px;
  background: #fbfcff;
}

.bfl-account-brief {
  background:
    radial-gradient(circle at 0% 0%, rgba(213, 82, 163, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff, #f8f6ff);
}

.bfl-account-brief h3 {
  margin: 0;
  color: #10172f;
  font-size: 18px;
  line-height: 1.25;
}

.bfl-account-brief__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bfl-account-brief__roles strong {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(90, 57, 240, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #5336e8;
  font-size: 12px;
  text-align: center;
}

.bfl-account-brief ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfl-account-brief li {
  position: relative;
  padding-left: 18px;
  color: #5d6684;
  font-size: 12px;
  line-height: 1.45;
}

.bfl-account-brief li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a39f0, #d552a3);
}

.bfl-account-provider-grid {
  display: grid;
  gap: 10px;
}

.bfl-account-provider {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #10172f;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bfl-account-provider:hover,
.bfl-account-provider:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.bfl-account-provider span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.bfl-account-provider strong {
  font-size: 14px;
}

.bfl-account-provider small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.bfl-account-provider--google {
  background: linear-gradient(135deg, #fff, #eef3ff);
  color: #1f2937;
  border-color: #dfe5f3;
}

.bfl-account-provider--google small {
  color: #64708b;
}

.bfl-account-provider--github {
  background: linear-gradient(135deg, #121622, #05070d);
}

.bfl-account-provider--facebook {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.bfl-account-provider--discord {
  background: linear-gradient(135deg, #5865f2, #2f3192);
}

.bfl-account-form label {
  display: grid;
  gap: 7px;
  color: #202844;
  font-size: 12px;
  font-weight: 800;
}

.bfl-account-form input,
.bfl-account-form textarea {
  width: 100%;
  border: 1px solid #e0e5f0;
  border-radius: 10px;
  background: #fff;
  color: #11172f;
  font: inherit;
  font-size: 14px;
}

.bfl-account-form input {
  min-height: 40px;
  padding: 0 12px;
}

.bfl-account-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.bfl-account-form input:focus,
.bfl-account-form textarea:focus {
  outline: 2px solid rgba(90, 57, 240, 0.2);
  border-color: #6b46f2;
}

.bfl-account-form button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #6f45f2, #4d2bdd);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.bfl-account-form small[data-state="success"] {
  color: #0f9f6e;
}

.bfl-account-form small[data-state="error"] {
  color: #dc2626;
}

.bfl-account-links button {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #202844;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.bfl-account-links button:hover,
.bfl-account-links button:focus-visible {
  outline: none;
  background: #f2efff;
}

.bfl-account-links span {
  display: grid;
  gap: 2px;
}

.bfl-account-links strong {
  font-size: 14px;
}

.bfl-account-links small {
  color: #7a839d;
  font-size: 12px;
}

@media (max-width: 720px) {
  .bfl-account-drawer__panel {
    width: 100vw;
    padding: 22px;
  }
}

.bfl-freelancer-home-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 42%, #f6f8ff 100%);
}

.bfl-fh-layout {
  grid-template-columns: 264px minmax(0, 1fr) minmax(260px, 330px);
  align-items: start;
}

.bfl-fh-sidebar {
  position: sticky;
  top: 72px;
}

.bfl-fh-main {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 24px 28px 44px;
}

.bfl-fh-right {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px 22px 44px 0;
}

.bfl-fh-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  min-height: 286px;
  overflow: hidden;
  border: 1px solid rgba(112, 72, 242, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 24%, rgba(213, 82, 163, 0.42), transparent 15rem),
    radial-gradient(circle at 22% 88%, rgba(73, 53, 232, 0.35), transparent 14rem),
    linear-gradient(135deg, #090621 0%, #25105b 48%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(76, 45, 185, 0.2);
}

.bfl-fh-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  opacity: 0.45;
}

.bfl-fh-banner__copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 13px;
  padding: clamp(30px, 5vw, 56px);
}

.bfl-fh-banner__copy > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.bfl-fh-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

.bfl-fh-banner p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.bfl-multi-word {
  position: relative;
  width: min(620px, 100%);
  height: clamp(54px, 6.4vw, 78px);
  overflow: hidden;
}

.bfl-multi-word strong {
  position: absolute;
  inset: 0 auto auto 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.1em;
  padding: 0.06em 0.22em 0.14em;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 232, 255, 0.9)),
    linear-gradient(135deg, #fff, #fff);
  color: #6d38f0;
  font-size: clamp(36px, 4.7vw, 62px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  box-shadow: 0 18px 42px rgba(7, 5, 22, 0.2);
  opacity: 0;
  transform: translateY(105%) rotateX(-18deg);
  animation: bflMultiWord 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.bfl-multi-word strong:nth-child(2) { animation-delay: 2s; }
.bfl-multi-word strong:nth-child(3) { animation-delay: 4s; }
.bfl-multi-word strong:nth-child(4) { animation-delay: 6s; }
.bfl-multi-word strong:nth-child(5) { animation-delay: 8s; }
.bfl-multi-word strong:nth-child(6) { animation-delay: 10s; }

@keyframes bflMultiWord {
  0% {
    opacity: 0;
    transform: translateY(105%) rotateX(-18deg);
  }
  7%, 15% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  22%, 100% {
    opacity: 0;
    transform: translateY(-105%) rotateX(18deg);
  }
}

.bfl-fh-banner__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.bfl-fh-banner__visual span {
  position: absolute;
  width: min(24vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 30%),
    conic-gradient(from 120deg, rgba(255, 255, 255, 0), rgba(213, 82, 163, 0.75), rgba(123, 92, 255, 0.95), rgba(255, 255, 255, 0));
  filter: blur(1px);
  animation: bflBannerOrb 10s linear infinite;
}

.bfl-fh-banner__visual img {
  position: relative;
  width: min(17vw, 190px);
  min-width: 112px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

@keyframes bflBannerOrb {
  to { transform: rotate(360deg); }
}

.bfl-fh-announcement {
  overflow: hidden;
  border: 1px solid rgba(255, 128, 44, 0.32);
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(255, 122, 24, 0.18), rgba(255, 170, 64, 0.12)),
    #fff8ef;
  color: #bd4e00;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.bfl-fh-announcement div {
  display: inline-flex;
  align-items: center;
  gap: 120px;
  min-width: max-content;
  min-height: 42px;
  white-space: nowrap;
  animation: bflAnnouncement 15s linear infinite;
  animation-delay: -5s;
}

.bfl-fh-announcement span {
  padding-inline: 32px;
  font-size: 14px;
  font-weight: 900;
}

@keyframes bflAnnouncement {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.bfl-fh-work {
  display: grid;
  gap: 18px;
}

.bfl-fh-work h2 {
  margin: 0;
  color: #d552a3;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
}

.bfl-fh-work-grid {
  display: grid;
  gap: 18px;
}

.bfl-fh-job-card,
.bfl-fh-empty {
  min-height: 174px;
  border: 1px solid rgba(0, 164, 228, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 164, 228, 0.12), rgba(255, 255, 255, 0.95) 52%),
    #fff;
  box-shadow: 0 18px 42px rgba(24, 45, 90, 0.08);
}

.bfl-fh-job-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.bfl-fh-job-card__top,
.bfl-fh-job-card__meta,
.bfl-fh-job-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bfl-fh-job-card__top span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf8ff;
  color: #0081bb;
  font-size: 12px;
  font-weight: 900;
}

.bfl-fh-job-card__top small,
.bfl-fh-job-card__meta em {
  color: #65708d;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.bfl-fh-job-card h3 {
  margin: 0;
  color: #10172f;
  font-size: 20px;
  line-height: 1.28;
}

.bfl-fh-job-card p {
  margin: 0;
  color: #65708d;
  font-size: 14px;
  line-height: 1.6;
}

.bfl-fh-job-card__meta strong {
  color: #12204a;
  font-size: 18px;
}

.bfl-fh-job-card footer {
  align-items: flex-end;
  flex-wrap: wrap;
}

.bfl-fh-job-card footer i {
  display: inline-flex;
  margin: 0 6px 6px 0;
  padding: 6px 9px;
  border-radius: 7px;
  background: #f2f5fb;
  color: #72809f;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.bfl-fh-job-card footer button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #6f45f2, #4d2bdd);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.bfl-fh-load-more {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.bfl-fh-load-more button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #d552a3, #6846ee);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(104, 70, 238, 0.22);
}

.bfl-fh-empty {
  display: grid;
  place-items: center;
  padding: 26px;
  color: #6a7594;
  font-weight: 800;
  text-align: center;
}

.bfl-fh-side-card {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(89, 70, 219, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.24), transparent 6rem),
    linear-gradient(135deg, #5b43e6, #3326b8);
  color: #fff;
  box-shadow: 0 18px 38px rgba(63, 53, 178, 0.18);
}

.bfl-fh-side-card--deep {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.2), transparent 6rem),
    linear-gradient(135deg, #432bc9, #15135a);
}

.bfl-fh-side-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.bfl-fh-side-card h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 20px;
}

.bfl-fh-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.bfl-boost-card {
  overflow: hidden;
  transition: max-height 420ms ease, min-height 420ms ease, padding 420ms ease, transform 420ms ease, opacity 420ms ease;
}

.bfl-boost-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bfl-boost-card__head h3 {
  margin: 0;
}

.bfl-boost-card__head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  transition: transform 260ms ease, background 260ms ease;
}

.bfl-boost-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}

.bfl-boost-card.is-collapsed {
  min-height: 64px;
  max-height: 76px;
  padding-top: 18px;
  padding-bottom: 18px;
  transform: translateY(-8px);
}

.bfl-boost-card.is-collapsed .bfl-boost-link,
.bfl-boost-card.is-collapsed p {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.bfl-boost-card.is-collapsed .bfl-boost-card__head button {
  transform: rotate(180deg);
}

.bfl-boost-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bfl-boost-modal.is-open {
  display: flex;
}

.bfl-boost-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 8, 30, 0.58);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.bfl-boost-modal__panel {
  position: relative;
  width: min(540px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(119, 83, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(213, 82, 163, 0.16), transparent 12rem),
    linear-gradient(180deg, #fff, #f7f5ff);
  box-shadow: 0 32px 90px rgba(16, 12, 60, 0.28);
}

.bfl-boost-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f0ecff;
  color: #4d2bdd;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.bfl-boost-modal__panel > span {
  color: #d552a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bfl-boost-modal__panel h2 {
  margin: 8px 0 8px;
  color: #10172f;
  font-size: 30px;
  letter-spacing: 0;
}

.bfl-boost-modal__panel p {
  margin: 0 0 20px;
  color: #626d8d;
  line-height: 1.6;
}

.bfl-boost-modal form,
.bfl-boost-modal label {
  display: grid;
  gap: 10px;
}

.bfl-boost-modal form {
  gap: 16px;
}

.bfl-boost-modal label {
  color: #121a36;
  font-weight: 900;
}

.bfl-boost-modal input,
.bfl-boost-modal select {
  min-height: 44px;
  border: 1px solid #dfe4f2;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #10172f;
  font: inherit;
}

.bfl-boost-modal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 12px;
  background: #f1edff;
  color: #3420a2;
  font-weight: 950;
}

.bfl-boost-modal button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #d552a3, #5b36ed);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
}

.bfl-boost-modal small {
  color: #65708d;
  font-weight: 800;
}

.bfl-boost-modal small[data-state="error"] {
  color: #c8283f;
}

.bfl-boost-modal small[data-state="saved"] {
  color: #0b9f6a;
}

.bfl-fh-becoin {
  width: 100%;
}

@media (max-width: 1180px) {
  .bfl-fh-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .bfl-fh-right {
    grid-column: 2;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 28px 44px;
  }

  .bfl-fh-becoin {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .bfl-fh-layout {
    display: block;
  }

  .bfl-fh-sidebar {
    position: static;
    min-height: auto;
  }

  .bfl-fh-banner {
    grid-template-columns: 1fr;
  }

  .bfl-fh-banner__visual {
    min-height: 160px;
  }

  .bfl-fh-right {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 20px 34px;
  }

  .bfl-fh-main {
    padding: 20px;
  }
}

/* BeFreeLancer platform live dashboard refinements */
.bfl-dash-menu-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(87, 63, 220, 0.12));
}

.bfl-dashboard-page--platform .bfl-dash-sidebar nav a {
  min-height: 38px;
}

.bfl-dashboard-page--platform .bfl-dash-sidebar nav a span {
  line-height: 1.2;
}

.bfl-dashboard-page--platform .bfl-dash-category-row button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.bfl-dashboard-page--platform .bfl-dash-category-row .bfl-dash-menu-icon {
  width: 26px;
  height: 26px;
}

.bfl-dashboard-page--platform .bfl-dash-post-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.bfl-notification-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 78px;
  width: min(330px, calc(100vw - 32px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(95, 84, 173, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(22, 20, 45, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 30;
}

.bfl-notification-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bfl-notification-popover strong {
  display: block;
  margin-bottom: 10px;
  color: #11142d;
  font-size: 14px;
}

.bfl-notification-popover ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.bfl-notification-popover li {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f5ff;
  color: #566078;
  font-size: 12px;
  line-height: 1.45;
}

.bfl-live-analytics {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.bfl-live-analytics__chooser,
.bfl-live-analytics__chart,
.bfl-level-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(95, 84, 173, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 56px rgba(37, 29, 95, 0.08);
}

.bfl-live-analytics__chooser {
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-height: 310px;
}

.bfl-live-analytics__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bfl-live-analytics__head span {
  display: block;
  margin-bottom: 5px;
  color: #716c81;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
}

.bfl-live-analytics__head h2 {
  margin: 0;
  color: #11142d;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
}

.bfl-add-metric-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #6d4aff, #4c2fe6);
  box-shadow: 0 14px 28px rgba(93, 65, 235, 0.26);
  cursor: pointer;
}

.bfl-add-metric-button b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.bfl-metric-options {
  position: absolute;
  top: 66px;
  right: 18px;
  width: 220px;
  padding: 8px;
  display: grid;
  gap: 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 19, 64, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 4;
}

.bfl-metric-options.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bfl-metric-options button {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: transparent;
  color: #2c3150;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.bfl-metric-options button:hover {
  background: #f3efff;
  color: #5b35e8;
}

.bfl-live-analytics__list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bfl-live-analytics__list button {
  border: 1px solid rgba(109, 74, 255, 0.12);
  border-radius: 16px;
  padding: 12px;
  min-height: 76px;
  background: linear-gradient(135deg, rgba(247, 245, 255, .95), rgba(255,255,255,.9));
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bfl-live-analytics__list button:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 74, 255, 0.34);
  box-shadow: 0 14px 28px rgba(91, 53, 232, .1);
}

.bfl-live-analytics__list span {
  display: block;
  color: #697187;
  font-size: 12px;
  font-weight: 800;
}

.bfl-live-analytics__list strong {
  display: block;
  margin-top: 7px;
  color: #121631;
  font-size: 22px;
  letter-spacing: 0;
}

.bfl-live-analytics__art {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 210px;
  max-width: 58%;
  opacity: .9;
}

.bfl-live-analytics__art svg {
  display: block;
  width: 100%;
  height: auto;
}

.bfl-live-analytics__chart {
  padding: 20px;
  min-height: 310px;
  background:
    radial-gradient(circle at 20% 10%, rgba(109,74,255,.1), transparent 28%),
    linear-gradient(135deg, rgba(250,251,255,.98), rgba(238,248,255,.96));
}

.bfl-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bfl-chart-head span {
  color: #566078;
  font-weight: 900;
  letter-spacing: .04em;
}

.bfl-chart-head strong {
  color: #141936;
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: 0;
}

.bfl-chart-bars {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(83, 111, 255, .1);
}

.bfl-chart-bars i {
  display: block;
  min-height: 18px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #6d4aff, #21c99a);
  box-shadow: 0 12px 24px rgba(65, 87, 255, .16);
  transition: height .32s ease;
}

.bfl-live-analytics__chart p {
  margin: 16px 0 0;
  color: #697187;
  font-size: 13px;
  line-height: 1.55;
}

.bfl-dash-mini-title > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3efff;
}

.bfl-dash-mini-title .bfl-dash-menu-icon {
  width: 28px;
  height: 28px;
}

.bfl-dash-becoin-card--overview {
  margin-top: 16px;
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 176, 32, .22), transparent 24%),
    linear-gradient(145deg, #08051c, #151044 52%, #261477);
  color: #fff;
  overflow: hidden;
}

.bfl-dash-becoin-card--overview h3,
.bfl-dash-becoin-card--overview .bfl-dash-becoin-balance strong {
  color: #fff;
}

.bfl-dash-becoin-card--overview .bfl-dash-becoin-balance {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.12);
}

.bfl-dash-becoin-card--overview .bfl-dash-becoin-balance img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 12px 22px rgba(255,176,32,.35));
}

.bfl-dash-becoin-card--overview li,
.bfl-dash-becoin-card--overview span,
.bfl-dash-becoin-card--overview small {
  color: rgba(255,255,255,.76);
}

.bfl-level-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-top: 18px;
}

.bfl-level-panel > div {
  display: grid;
  grid-template-columns: 54px auto;
  column-gap: 14px;
  align-items: center;
}

.bfl-level-panel img {
  grid-row: span 3;
  width: 54px;
  height: 54px;
}

.bfl-level-panel span:not(.bfl-level-bar) {
  color: #6d4aff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.bfl-level-panel h2 {
  margin: 2px 0;
  color: #11142d;
  letter-spacing: 0;
}

.bfl-level-panel p {
  margin: 0;
  color: #687086;
}

.bfl-level-bar {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8ff;
}

.bfl-level-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d4aff, #21c99a);
  transition: width .3s ease;
}

.bfl-listing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 20, 0.58);
  backdrop-filter: blur(10px);
}

.bfl-listing-modal.is-open {
  display: flex;
}

.bfl-listing-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 36px 110px rgba(11, 9, 42, .34);
}

.bfl-listing-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3efff;
  color: #5b35e8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.bfl-listing-modal__head span {
  color: #6d4aff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.bfl-listing-modal__head h2 {
  max-width: 720px;
  margin: 6px 0 20px;
  color: #11142d;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0;
}

.bfl-listing-wizard {
  display: grid;
  gap: 16px;
}

.bfl-wizard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bfl-listing-wizard label {
  display: grid;
  gap: 7px;
  color: #394057;
  font-size: 12px;
  font-weight: 800;
}

.bfl-listing-wizard input,
.bfl-listing-wizard select,
.bfl-listing-wizard textarea {
  width: 100%;
  border: 1px solid rgba(86, 99, 122, .18);
  border-radius: 13px;
  padding: 12px 13px;
  outline: 0;
  color: #161b35;
  background: #fff;
}

.bfl-listing-wizard textarea {
  min-height: 110px;
  resize: vertical;
}

.bfl-wizard-media {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(240px, .8fr) 1fr;
  gap: 14px;
  align-items: stretch;
}

.bfl-wizard-media figure {
  margin: 0;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3efff, #eefbf6);
  color: #6a7288;
  font-weight: 800;
}

.bfl-wizard-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfl-wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.bfl-wizard-actions button {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}

.bfl-wizard-actions button:first-child {
  color: #5b35e8;
  background: #f3efff;
}

.bfl-wizard-actions button:last-child {
  color: #fff;
  background: linear-gradient(135deg, #6d4aff, #4c2fe6);
  box-shadow: 0 16px 30px rgba(93, 65, 235, .25);
}

@media (max-width: 1180px) {
  .bfl-live-analytics,
  .bfl-wizard-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .bfl-live-analytics__list,
  .bfl-wizard-grid {
    grid-template-columns: 1fr;
  }

  .bfl-listing-modal {
    padding: 12px;
  }

  .bfl-listing-modal__panel {
    padding: 20px;
    border-radius: 22px;
  }
}

.bfl-dashboard-page--platform .bfl-dash-alerts,
.bfl-dashboard-page--platform .bfl-dash-user {
  display: flex;
}

.bfl-dashboard-page--platform .bfl-dash-alerts {
  position: relative;
}

@media (max-width: 900px) {
  .bfl-dashboard-page--platform .bfl-dash-user div,
  .bfl-dashboard-page--platform .bfl-dash-user button {
    display: none;
  }

  .bfl-dashboard-page--platform .bfl-dash-alerts {
    order: 3;
  }

  .bfl-dashboard-page--platform .bfl-dash-post-btn {
    order: 4;
  }
}

html {
  scroll-behavior: smooth;
  background: #fff;
}

body.bfl-eduwell-mode {
  margin: 0;
  background: #fff;
  color: var(--edu-text);
  font-family: "Open Sans", sans-serif;
}

body.bfl-eduwell-mode #root {
  min-height: 100vh;
}

.edu-page,
.edu-page * {
  box-sizing: border-box;
}

.edu-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 100% 3%, rgba(124, 58, 237, 0.08), transparent 25rem),
    #fff;
  color: var(--edu-text);
  font-family: "Open Sans", sans-serif;
}

.edu-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.edu-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 100px;
  background:
    linear-gradient(135deg, rgba(8, 5, 22, 0.96), rgba(91, 33, 182, 0.92) 58%, rgba(168, 85, 247, 0.84));
  border-bottom-right-radius: 86px;
  box-shadow: 0 18px 55px rgba(17, 7, 50, 0.2);
}

.edu-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.edu-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.edu-logo img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 18px rgba(240, 171, 252, 0.75));
}

.edu-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.edu-nav nav a,
.edu-menu {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.edu-nav nav a:hover,
.edu-nav nav a.active {
  color: #fff;
  opacity: 0.74;
}

.edu-menu {
  display: none;
  font-weight: 700;
}

.edu-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 80px;
}

.edu-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100px;
  width: min(530px, 42vw);
  height: 470px;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(220, 140, 219, 0.24), transparent 13rem),
    linear-gradient(145deg, rgba(124, 58, 237, 0.12), transparent);
  border-bottom-right-radius: 190px;
  border-top-right-radius: 30px;
}

.edu-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 108px;
  width: 520px;
  height: 520px;
  z-index: 0;
  background:
    radial-gradient(circle at 54% 48%, rgba(240, 171, 252, 0.22), transparent 16rem),
    radial-gradient(circle at 68% 32%, rgba(124, 58, 237, 0.15), transparent 18rem);
  border-radius: 50%;
}

.edu-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.edu-hero__copy h6,
.edu-section-heading h6,
.edu-cta h6 {
  margin: 0 0 16px;
  color: #7a7a7a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edu-hero__copy h1 {
  max-width: 650px;
  margin: 0;
  color: #111;
  font-size: clamp(42px, 4.9vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.edu-gradient-word {
  display: inline-block;
  color: transparent;
  background:
    linear-gradient(90deg, #7c3aed, #dc8cdb, #22d3ee, #a855f7, #f0abfc, #7c3aed);
  background-size: 320% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: edu-rainbow-text 4.2s linear infinite;
  filter: drop-shadow(0 10px 28px rgba(124, 58, 237, 0.18));
}

.edu-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 36px;
  padding: 0 31px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--edu-purple), var(--edu-pink));
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.22);
}

.edu-path-button {
  min-width: 244px;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(18, 7, 61, 0.96), rgba(124, 58, 237, 0.95) 54%, rgba(220, 140, 219, 0.92));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 20px 55px rgba(124, 58, 237, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.edu-path-button::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.38), rgba(18, 7, 61, 0.88));
}

.edu-path-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #dc8cdb, #22d3ee, #a855f7, #f0abfc, #7c3aed);
  background-size: 320% 100%;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.edu-path-button:hover::after,
.edu-path-button:focus-visible::after {
  opacity: 1;
  animation: edu-rainbow-text 4.2s linear infinite;
}

.edu-path-button__paths {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.42;
  pointer-events: none;
}

.edu-path-button__paths i {
  position: absolute;
  width: 180px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  transform: rotate(-17deg);
  animation: edu-button-path-drift 7s ease-in-out infinite alternate;
}

.edu-path-button__paths i:nth-child(1) {
  left: -46px;
  top: 4px;
}

.edu-path-button__paths i:nth-child(2) {
  left: 44px;
  top: -18px;
  animation-delay: -1.2s;
}

.edu-path-button__paths i:nth-child(3) {
  right: -54px;
  bottom: -12px;
  animation-delay: -2.1s;
}

.edu-path-button__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 45%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.edu-path-button:hover .edu-path-button__shine,
.edu-path-button:focus-visible .edu-path-button__shine {
  transform: translateX(120%);
}

.edu-path-button__label {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.34s ease, opacity 0.34s ease;
}

.edu-path-button__label--default {
  transform: translateY(0);
}

.edu-path-button__label--hover {
  position: absolute;
  opacity: 0;
  transform: translateY(-115%);
}

.edu-path-button:hover .edu-path-button__label--default,
.edu-path-button:focus-visible .edu-path-button__label--default {
  opacity: 0;
  transform: translateY(115%);
}

.edu-path-button:hover .edu-path-button__label--hover,
.edu-path-button:focus-visible .edu-path-button__label--hover {
  opacity: 1;
  transform: translateY(0);
}

.edu-button--light {
  background: #fff;
  color: var(--edu-purple);
}

.edu-hero__visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.edu-logo-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(250px, 34vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 28%, rgba(244, 232, 255, 0.88) 29% 52%, rgba(124, 58, 237, 0.08) 53% 100%);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.07),
    0 32px 95px rgba(91, 33, 182, 0.16),
    inset 0 0 70px rgba(240, 171, 252, 0.26);
}

.edu-logo-stage img {
  width: 42%;
  filter:
    drop-shadow(0 0 28px rgba(240, 171, 252, 0.95))
    drop-shadow(0 0 58px rgba(124, 58, 237, 0.72));
  animation: edu-logo-float 4.8s ease-in-out infinite;
}

.edu-logo-glow {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 171, 252, 0.62), rgba(124, 58, 237, 0.24) 48%, transparent 72%);
  filter: blur(22px);
  animation: edu-neon-pulse 3.2s ease-in-out infinite;
}

.edu-neon-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 42% 58% 56% 44%;
  background:
    radial-gradient(circle at 70% 18%, rgba(124, 58, 237, 0.18), transparent 10rem),
    linear-gradient(135deg, rgba(8, 5, 22, 0.9), rgba(54, 22, 116, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 42px 100px rgba(8, 5, 22, 0.18);
}

.edu-neon-orbit--one {
  width: 78%;
  height: 58%;
  right: 0;
  top: 8%;
  transform: rotate(-9deg);
}

.edu-neon-orbit--two {
  width: 58%;
  height: 44%;
  left: 6%;
  bottom: 6%;
  transform: rotate(12deg);
  opacity: 0.82;
}

.edu-floating-dot {
  position: absolute;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0abfc, #8b5cf6);
  box-shadow: 0 0 36px rgba(240, 171, 252, 0.58);
}

.edu-floating-dot--one {
  right: 18%;
  top: 19%;
}

.edu-floating-dot--two {
  left: 14%;
  bottom: 18%;
  width: 28px;
  height: 28px;
}

.edu-section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.edu-section-heading--center {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.edu-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
}

.edu-section-heading h2 em {
  color: var(--edu-purple);
  font-style: normal;
}

.edu-section-heading p,
.edu-course-card p,
.edu-testimonial p,
.edu-contact__form p {
  color: var(--edu-muted);
  font-size: 14px;
  line-height: 1.75;
}

.edu-services {
  position: relative;
  padding: 60px 0 110px;
}

.edu-services::before,
.edu-courses::before,
.edu-testimonials::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 68%);
  pointer-events: none;
}

.edu-services::before {
  left: -90px;
  top: 20px;
}

.edu-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.edu-service-card {
  min-height: 255px;
  padding: 36px 26px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--edu-line);
  text-align: center;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.06);
}

.edu-service-card img {
  height: 64px;
  object-fit: contain;
  margin-bottom: 24px;
}

.edu-service-card h4,
.edu-course-card h4,
.edu-testimonial h4,
.edu-contact__info h4 {
  margin: 0 0 14px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.edu-service-card p {
  margin: 0;
  color: var(--edu-muted);
  font-size: 14px;
  line-height: 1.75;
}

.edu-courses {
  position: relative;
  padding: 104px 0;
  background: #fff;
}

.edu-courses::before {
  display: none;
  right: -80px;
  top: 12%;
}

.edu-course-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
}

.edu-skill-orbit {
  position: relative;
  width: min(900px, 100%);
  height: 640px;
  margin: 42px auto 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}

.edu-skill-orbit::before,
.edu-skill-orbit::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.edu-skill-orbit::after {
  width: 620px;
  height: 620px;
  border-color: rgba(99, 102, 241, 0.14);
  animation: edu-orbit-spin 18s linear infinite;
}

.edu-skill-orbit__center {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background:
    radial-gradient(circle at 50% 42%, #fff, rgba(244, 232, 255, 0.9) 52%, rgba(124, 58, 237, 0.18));
  box-shadow: 0 0 46px rgba(124, 58, 237, 0.28), inset 0 0 36px rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
}

.edu-skill-orbit__center img {
  width: 62px;
  filter: brightness(0) saturate(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.85));
}

.edu-skill-orbit__center strong {
  display: none;
}

.edu-skill-orbit__center span {
  display: none;
}

.edu-skill-node {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 5;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    rotate(calc((360deg / 5) * var(--i)))
    translateX(205px)
    rotate(calc((360deg / -5) * var(--i)));
  transition: opacity 200ms ease, filter 200ms ease;
}

.edu-skill-node__pulse {
  position: absolute;
  inset: calc(-1px * var(--energy) / 5);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 72%);
  opacity: 0.62;
}

.edu-skill-node__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 5px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.3);
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.edu-skill-node__title {
  position: absolute;
  left: 50%;
  top: 66px;
  width: max-content;
  max-width: 150px;
  color: #33235f;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.edu-skill-card {
  position: absolute;
  left: 50%;
  top: 86px;
  z-index: 12;
  display: grid;
  gap: 10px;
  width: 250px;
  padding: 18px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.14), 0 0 32px rgba(124, 58, 237, 0.13);
  text-align: left;
  opacity: 0;
  transform: translate(-50%, 12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.edu-skill-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.edu-skill-card__top strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 10px;
}

.edu-skill-card__top em {
  color: rgba(17, 24, 39, 0.58);
  font-style: normal;
  font-size: 11px;
}

.edu-skill-card__title {
  font-size: 14px;
  font-weight: 900;
}

.edu-skill-card__text {
  color: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.edu-skill-card__energy {
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
}

.edu-skill-card__energy i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #7c3aed, #f0abfc);
}

.edu-skill-node:hover,
.edu-skill-node.is-active {
  z-index: 20;
  filter: drop-shadow(0 18px 34px rgba(124, 58, 237, 0.24));
}

.edu-skill-node:hover .edu-skill-node__icon,
.edu-skill-node.is-active .edu-skill-node__icon {
  background: #7c3aed;
  color: #fff;
  transform: scale(1.35);
  box-shadow: 0 0 34px rgba(124, 58, 237, 0.35);
}

.edu-skill-node:hover .edu-skill-card,
.edu-skill-node.is-active .edu-skill-card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.edu-skill-node.is-related .edu-skill-node__icon {
  border-color: #fff;
  background: rgba(124, 58, 237, 0.18);
  color: #111827;
  animation: edu-related-pulse 1.4s ease-in-out infinite;
}

.edu-course-tabs button {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--edu-purple);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(17, 24, 39, 0.06);
}

.edu-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.edu-course-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.08);
}

.edu-course-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.edu-course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edu-course-card__body {
  padding: 28px;
}

.edu-course-card__body > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--edu-purple);
  font-size: 18px;
  font-weight: 800;
}

.edu-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.edu-course-card__meta strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--edu-lilac);
  color: var(--edu-navy-2);
  font-size: 12px;
}

.edu-course-card a {
  color: var(--edu-purple);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.edu-cta {
  padding: 92px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 16%, rgba(240, 171, 252, 0.32), transparent 18rem),
    linear-gradient(135deg, var(--edu-navy), #201059 58%, var(--edu-purple));
}

.edu-cta__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.edu-cta__media img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: saturate(0.86) hue-rotate(46deg);
}

.edu-cta h6,
.edu-cta h2,
.edu-cta p {
  color: #fff;
}

.edu-cta h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.14;
}

.edu-cta p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.edu-testimonials {
  position: relative;
  padding: 104px 0;
}

.edu-testimonials::before {
  left: -70px;
  bottom: 6%;
}

.edu-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.edu-testimonial {
  position: relative;
  min-height: 240px;
  padding: 32px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--edu-line);
  box-shadow: 0 22px 65px rgba(17, 24, 39, 0.06);
}

.edu-testimonial > img {
  width: 42px;
  height: auto;
  margin-bottom: 20px;
}

.edu-testimonial span {
  color: var(--edu-purple);
  font-size: 13px;
  font-weight: 800;
}

.edu-forum-scroll {
  position: relative;
  min-height: 1120px;
  padding: 110px 0 130px;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 58, 237, 0.12), transparent 20rem),
    linear-gradient(180deg, #fff 0%, #fff 62%, rgba(244, 232, 255, 0.36) 100%);
  overflow: hidden;
}

.edu-forum-scroll__stage {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 42px;
  align-items: center;
  min-height: min(760px, calc(100vh - 90px));
  perspective: 1000px;
}

.edu-forum-scroll__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(var(--forum-header-translate, 0));
  transition: transform 80ms linear;
}

.edu-forum-scroll__header h6 {
  margin: 0 0 18px;
  color: var(--edu-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edu-forum-scroll__header h2 {
  margin: 0;
  color: #111;
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.02;
  font-weight: 900;
}

.edu-forum-scroll__header h2 em {
  color: var(--edu-purple);
  font-style: normal;
}

.edu-forum-scroll__header p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--edu-muted);
  font-size: 15px;
  line-height: 1.8;
}

.edu-forum-device {
  width: min(960px, 100%);
  margin: 0 auto;
  transform:
    translateY(var(--forum-translate, 0))
    rotateX(var(--forum-rotate, 22deg))
    scale(var(--forum-scale, 1.06));
  transform-origin: center top;
  transition: transform 80ms linear;
}

.edu-forum-device__bezel {
  height: clamp(430px, 52vw, 610px);
  padding: clamp(10px, 2vw, 22px);
  border: 4px solid #6c6c6c;
  border-radius: 30px;
  background: #222;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.29),
    0 37px 37px rgba(0, 0, 0, 0.25),
    0 84px 50px rgba(0, 0, 0, 0.15),
    0 149px 60px rgba(0, 0, 0, 0.04);
}

.edu-forum-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.2), transparent 17rem),
    radial-gradient(circle at 12% 82%, rgba(124, 58, 237, 0.28), transparent 18rem),
    linear-gradient(135deg, #f8f7ff, #fff 46%, #eef8ff);
}

.edu-forum-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 92%);
  pointer-events: none;
}

.edu-forum-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 4vw, 46px);
}

.edu-forum-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.edu-forum-topbar img {
  width: 32px;
  height: 32px;
}

.edu-forum-topbar button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--edu-purple), var(--edu-pink));
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.23);
}

.edu-forum-hero-card {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 40px));
  margin: 8px auto 24px;
  padding: 24px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 65px rgba(17, 24, 39, 0.08);
  text-align: center;
  backdrop-filter: blur(14px);
}

.edu-forum-hero-card strong {
  display: block;
  color: #111827;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.edu-forum-hero-card p {
  margin: 14px 0 18px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.edu-forum-hero-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.edu-forum-hero-card span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--edu-purple);
  font-size: 12px;
  font-weight: 900;
}

.edu-forum-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  width: min(820px, calc(100% - 46px));
  margin: 0 auto;
}

.edu-forum-layout aside,
.edu-forum-thread-list article {
  border: 1px solid rgba(124, 58, 237, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(12px);
}

.edu-forum-layout aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
}

.edu-forum-layout aside strong {
  color: #111827;
  font-size: 13px;
}

.edu-forum-layout aside span {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.edu-forum-layout aside .is-live {
  background: rgba(124, 58, 237, 0.11);
  color: var(--edu-purple);
}

.edu-forum-thread-list {
  display: grid;
  gap: 12px;
}

.edu-forum-thread-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border-radius: 16px;
}

.edu-forum-thread-list i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.edu-forum-thread-list strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.edu-forum-thread-list p {
  margin: 6px 0 0;
  color: rgba(17, 24, 39, 0.58);
  font-size: 12px;
}

.edu-forum-thread-list em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  color: #0f6470;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.edu-3d-testimonials {
  position: relative;
  padding: 132px 0 156px;
  background:
    radial-gradient(circle at 18% 24%, rgba(124, 58, 237, 0.12), transparent 19rem),
    radial-gradient(circle at 82% 64%, rgba(34, 211, 238, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(244, 232, 255, 0.36), #fff 24%, #fff 76%, rgba(244, 232, 255, 0.34));
  overflow: hidden;
}

.edu-3d-testimonials__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: center;
}

.edu-3d-testimonials__copy {
  max-width: 430px;
}

.edu-3d-testimonials__copy h6 {
  margin: 0 0 18px;
  color: var(--edu-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edu-3d-testimonials__copy h2 {
  margin: 0;
  color: #111;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.02;
}

.edu-3d-testimonials__copy p {
  margin: 24px 0 0;
  color: var(--edu-muted);
  font-size: 15px;
  line-height: 1.85;
}

.edu-3d-testimonials__scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(590px, 48vw, 710px);
  min-width: 0;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08), transparent 17rem),
    rgba(255, 255, 255, 0.58);
  overflow: hidden;
  perspective: 320px;
}

.edu-3d-testimonials__tilt {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  transform: translateX(-8px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg);
  transform-style: preserve-3d;
}

.edu-3d-marquee {
  --marquee-duration: 40s;
  --marquee-gap: 14px;
  display: flex;
  height: 680px;
  overflow: hidden;
  padding: 8px;
}

.edu-3d-marquee__track {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: var(--marquee-gap);
  animation: edu-marquee-vertical var(--marquee-duration) linear infinite;
}

.edu-3d-marquee--reverse .edu-3d-marquee__track {
  animation-direction: reverse;
}

.edu-3d-marquee:hover .edu-3d-marquee__track {
  animation-play-state: paused;
}

.edu-3d-review {
  width: 212px;
  padding: 18px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
}

.edu-3d-review__person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-3d-review__person img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--edu-lilac);
}

.edu-3d-review__person strong {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.edu-3d-review__person span {
  color: rgba(17, 24, 39, 0.52);
  font-size: 11px;
}

.edu-3d-review__person small {
  display: block;
  margin-top: 3px;
  color: rgba(17, 24, 39, 0.52);
  font-size: 12px;
  font-weight: 700;
}

.edu-3d-review p {
  margin: 14px 0 0;
  color: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.edu-3d-testimonials__fade {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.edu-3d-testimonials__fade--top {
  inset: 0 0 auto;
  height: 26%;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
}

.edu-3d-testimonials__fade--bottom {
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
}

.edu-3d-testimonials__fade--left {
  inset: 0 auto 0 0;
  width: 20%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.edu-3d-testimonials__fade--right {
  inset: 0 0 0 auto;
  width: 20%;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.edu-3d-testimonials__headline {
  width: min(980px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.edu-3d-testimonials__headline h2 {
  margin: 0;
  color: #111;
  font-size: clamp(42px, 5.6vw, 82px);
  font-weight: 900;
  line-height: 1.02;
}

.edu-3d-testimonials__headline h2:not(:first-of-type),
.edu-3d-testimonials__headline p {
  display: none;
}

.edu-3d-testimonials__outro {
  display: grid;
  justify-items: center;
  gap: 26px;
  width: min(980px, 100%);
  margin: 52px auto 0;
  text-align: center;
}

.edu-3d-testimonials__outro p {
  margin: 0;
  color: rgba(17, 24, 39, 0.7);
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.8;
}

.edu-3d-testimonials__outro p span {
  color: var(--edu-purple);
  font-weight: 900;
}

.edu-liquid-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 214px;
  height: 58px;
  border: 2px solid rgba(17, 24, 39, 0.88);
  border-radius: 14px;
  background: #05051f;
  color: #fff;
  isolation: isolate;
  overflow: visible;
  text-decoration: none;
  box-shadow: 0 22px 56px rgba(11, 6, 252, 0.18);
}

.edu-liquid-button__glow {
  position: absolute;
  inset: -14px -18px;
  border-radius: 18px;
  filter: blur(18px);
  opacity: 0.76;
  overflow: hidden;
  z-index: -1;
}

.edu-liquid-button__surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #05051f;
}

.edu-liquid-button__surface::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.edu-liquid-button__blob {
  position: absolute;
  width: 180%;
  height: 330%;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 38%, #fff 0 8%, transparent 14%),
    radial-gradient(circle at 34% 55%, #9089e2 0 17%, transparent 27%),
    radial-gradient(circle at 52% 44%, #1e10c5 0 19%, transparent 31%),
    radial-gradient(circle at 72% 62%, #7d7bf4 0 18%, transparent 30%),
    radial-gradient(circle at 84% 38%, #0b06fc 0 16%, transparent 28%);
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: edu-liquid-spin 14s linear infinite;
}

.edu-liquid-button__blob--two {
  animation-duration: 22s;
  animation-direction: reverse;
  transform: translate(-50%, -50%) rotate(110deg);
  opacity: 0.88;
}

.edu-liquid-button__blob--three {
  animation-duration: 30s;
  transform: translate(-55%, -46%) rotate(-30deg);
  mix-blend-mode: hard-light;
  opacity: 0.62;
}

.edu-liquid-button__text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.edu-liquid-button:hover .edu-liquid-button__blob {
  animation-duration: 7s;
}

.edu-contact {
  padding: 92px 0 0;
  background:
    linear-gradient(180deg, rgba(244, 232, 255, 0.44), #fff);
}

.edu-contact__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.edu-contact__info {
  display: grid;
  gap: 20px;
}

.edu-contact__info > div {
  padding: 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--edu-navy), var(--edu-purple));
  color: #fff;
  box-shadow: 0 24px 60px rgba(91, 33, 182, 0.18);
}

.edu-contact__info h4,
.edu-contact__info p {
  color: #fff;
  margin: 0;
}

.edu-contact__form {
  display: grid;
  gap: 16px;
  padding: 38px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(17, 24, 39, 0.08);
}

.edu-contact__form .edu-section-heading {
  margin-bottom: 10px;
}

.edu-contact__form input,
.edu-contact__form textarea {
  width: 100%;
  border: 1px solid var(--edu-line);
  border-radius: 8px;
  background: #fafafa;
  padding: 14px 16px;
  color: #111;
  font: inherit;
  font-size: 14px;
}

.edu-contact__form textarea {
  min-height: 122px;
  resize: vertical;
}

.edu-contact__form button {
  justify-self: start;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--edu-purple), var(--edu-pink));
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

body.edu-modal-open {
  overflow: hidden;
}

body.edu-modal-open .edu-page {
  filter: blur(10px) saturate(0.82);
  transform: scale(0.988);
  transform-origin: top center;
  transition: filter 0.24s ease, transform 0.24s ease;
}

.edu-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.edu-auth-modal.is-open {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.edu-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(124, 58, 237, 0.32), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(34, 211, 238, 0.18), transparent 30%),
    rgba(4, 2, 13, 0.72);
  cursor: pointer;
}

.edu-auth-modal__panel {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(10, 7, 30, 0.96), rgba(20, 9, 62, 0.94) 54%, rgba(7, 4, 19, 0.98)),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.14), transparent 34%);
  color: #fff;
  box-shadow:
    0 34px 110px rgba(8, 3, 32, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: edu-modal-in 0.34s ease both;
}

.edu-auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.edu-auth-modal__close:hover,
.edu-auth-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(8deg) scale(1.04);
}

.edu-auth-modal__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 780px;
  padding-right: 48px;
}

.edu-auth-modal__logo {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(220, 140, 219, 0.34) 46%, rgba(124, 58, 237, 0.16));
  box-shadow: 0 0 34px rgba(220, 140, 219, 0.36);
}

.edu-auth-modal__logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.32));
}

.edu-auth-modal__intro h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: clamp(31px, 5vw, 56px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.edu-auth-modal__intro p,
.edu-auth-modal__tokens-head p,
.edu-auth-modal__flow p {
  margin: 0;
  color: rgba(235, 231, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.edu-auth-modal__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.edu-auth-role {
  min-height: 120px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.edu-auth-role strong,
.edu-auth-modal__flow strong,
.edu-auth-modal__tokens-head h3 {
  display: block;
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: 17px;
  font-weight: 900;
}

.edu-auth-role span {
  display: block;
  margin-top: 9px;
  color: rgba(232, 225, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.edu-auth-role:hover,
.edu-auth-role:focus-visible,
.edu-auth-role.is-active {
  border-color: rgba(220, 140, 219, 0.68);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(34, 211, 238, 0.08));
  transform: translateY(-2px);
}

.edu-auth-modal__flow {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.edu-auth-modal__flow p {
  margin-top: 7px;
}

.edu-auth-tags,
.edu-auth-subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.edu-auth-tags button,
.edu-auth-subtags span {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 240, 255, 0.86);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.edu-auth-tags button {
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.edu-auth-tags button:hover,
.edu-auth-tags button:focus-visible,
.edu-auth-tags button.is-active {
  border-color: rgba(34, 211, 238, 0.64);
  background: rgba(34, 211, 238, 0.14);
  transform: translateY(-1px);
}

.edu-auth-modal__tokens {
  margin-top: 24px;
}

.edu-auth-modal__tokens-head h3 {
  margin: 0 0 6px;
  font-family: var(--edu-code-next);
  font-size: 20px;
}

.edu-token-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.edu-token-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.edu-token-grid--compact .edu-token-button {
  min-height: 74px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
  border-radius: 16px;
}

.edu-token-grid--compact .edu-token-button__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.edu-token-grid--compact .edu-token-button__copy strong {
  font-size: 12px;
}

.edu-token-grid--compact .edu-token-button__copy small,
.edu-token-grid--compact .edu-token-button__arrow {
  display: none;
}

.edu-token-button {
  --token-one: #7c3aed;
  --token-two: #22d3ee;
  --token-three: #fff;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  width: 100%;
  padding: 17px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--token-one) 50%, transparent);
  border-radius: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--token-one) 24%, transparent), rgba(4, 4, 12, 0.76) 52%, color-mix(in srgb, var(--token-two) 16%, transparent));
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 18px 46px color-mix(in srgb, var(--token-one) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.edu-token-button--google {
  --token-one: #4285f4;
  --token-two: #34a853;
  --token-three: #fbbc05;
}

.edu-token-button--github {
  --token-one: #f5f5f5;
  --token-two: #6e7681;
  --token-three: #24292f;
}

.edu-token-button--facebook {
  --token-one: #1877f2;
  --token-two: #79b2ff;
  --token-three: #0b4fb3;
}

.edu-token-button--discord {
  --token-one: #5865f2;
  --token-two: #9aa4ff;
  --token-three: #2f3ac4;
}

.edu-token-button:hover,
.edu-token-button:focus-visible {
  border-color: color-mix(in srgb, var(--token-one) 78%, white 8%);
  box-shadow:
    0 22px 58px color-mix(in srgb, var(--token-one) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-3px) scale(1.01);
}

.edu-token-button:disabled {
  cursor: default;
}

.edu-token-button.is-connected {
  --token-one: #22c55e;
  --token-two: #86efac;
  border-color: rgba(34, 197, 94, 0.68);
}

.edu-token-button__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 34%, color-mix(in srgb, var(--token-one) 34%, white 8%) 49%, transparent 64% 100%);
  transform: translateX(-120%);
  transition: transform 0.72s ease;
}

.edu-token-button:hover .edu-token-button__sweep,
.edu-token-button:focus-visible .edu-token-button__sweep {
  transform: translateX(120%);
}

.edu-token-button__icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--token-one) 35%, transparent), color-mix(in srgb, var(--token-two) 12%, transparent));
}

.edu-token-button--google .edu-token-button__icon {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.12);
}

.edu-token-button--github .edu-token-button__icon {
  background: #0d1117;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.edu-token-button--facebook .edu-token-button__icon {
  background: #1877f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.edu-token-button--discord .edu-token-button__icon {
  background: #5865f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.edu-token-logo {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.edu-token-button--google .edu-token-logo {
  width: 31px;
  height: 31px;
}

.edu-token-button__icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  color: var(--token-three);
}

.edu-token-button--github .edu-token-button__icon svg {
  color: #fff;
}

.edu-google-g {
  font-size: 26px;
  font-weight: 1000;
  background: conic-gradient(from 30deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.edu-token-button__copy,
.edu-token-button__arrow {
  position: relative;
  z-index: 1;
}

.edu-token-button__copy strong,
.edu-token-button__copy small {
  display: block;
}

.edu-token-button__copy strong {
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: 16px;
  font-weight: 900;
}

.edu-token-button__copy small {
  margin-top: 5px;
  color: color-mix(in srgb, var(--token-one) 72%, white 24%);
  font-size: 12px;
  line-height: 1.4;
}

.edu-token-button__arrow {
  color: color-mix(in srgb, var(--token-one) 72%, white 18%);
  font-size: 26px;
  font-weight: 900;
  transition: transform 0.24s ease;
}

.edu-token-button:hover .edu-token-button__arrow,
.edu-token-button:focus-visible .edu-token-button__arrow {
  transform: translateX(3px);
}

.edu-token-button.is-connecting .edu-token-button__icon::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid color-mix(in srgb, var(--token-one) 48%, white 18%);
  border-top-color: transparent;
  border-radius: 50%;
  animation: edu-token-spin 0.82s linear infinite;
}

.edu-token-button.is-connecting .edu-token-button__icon > * {
  display: none;
}

.edu-auth-modal--stepped .edu-auth-modal__panel {
  display: none;
}

.edu-auth-modal--stepped .edu-auth-modal__panel.is-active {
  display: block;
}

.edu-auth-modal--stepped [data-auth-step="choice"] {
  width: min(1120px, 100%);
}

.edu-auth-modal--stepped [data-auth-step="freelancer-login"],
.edu-auth-modal--stepped [data-auth-step="buyer-category"] {
  width: min(930px, 100%);
}

.edu-auth-modal--stepped [data-auth-step="account"] {
  width: min(1060px, 100%);
}

.edu-auth-modal__panel--choice {
  min-height: 430px;
  padding-right: min(430px, 41%);
}

.edu-auth-modal__panel--choice .edu-auth-modal__intro {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 620px;
  padding-right: 0;
}

.edu-auth-modal__panel--choice .edu-auth-modal__logo {
  width: 52px;
  height: 52px;
  align-self: start;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.edu-auth-modal__panel--choice .edu-auth-modal__logo img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(255, 255, 255, 0.16));
}

.edu-auth-modal__panel--choice .edu-auth-modal__intro h2 {
  margin-bottom: 7px;
}

.edu-auth-modal__panel--choice .edu-auth-modal__roles {
  max-width: 620px;
}

.edu-auth-choice-art {
  position: absolute;
  right: clamp(24px, 4vw, 54px);
  top: 50%;
  width: min(38%, 420px);
  margin: 0;
  transform: translateY(-47%);
  pointer-events: none;
}

.edu-auth-choice-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.26));
}

.edu-auth-modal__backlink {
  min-height: 36px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 240, 255, 0.86);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.edu-auth-modal__backlink:hover,
.edu-auth-modal__backlink:focus-visible {
  border-color: rgba(220, 140, 219, 0.48);
  background: rgba(220, 140, 219, 0.14);
  transform: translateX(-2px);
}

.edu-auth-role--primary {
  background:
    radial-gradient(circle at 16% 20%, rgba(220, 140, 219, 0.23), transparent 30%),
    rgba(255, 255, 255, 0.065);
}

.edu-auth-role--secondary {
  background:
    radial-gradient(circle at 16% 20%, rgba(34, 211, 238, 0.17), transparent 30%),
    rgba(255, 255, 255, 0.065);
}

.edu-manual-register,
.edu-auth-continue,
.edu-account-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #dc8cdb 58%, #22d3ee);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(124, 58, 237, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.edu-manual-register {
  width: 100%;
}

.edu-auth-continue:hover,
.edu-auth-continue:focus-visible,
.edu-manual-register:hover,
.edu-manual-register:focus-visible,
.edu-account-form button:hover,
.edu-account-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(124, 58, 237, 0.36);
}

.edu-buyer-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.edu-buyer-category-grid button {
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(246, 241, 255, 0.9);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.edu-buyer-category-grid button:hover,
.edu-buyer-category-grid button:focus-visible,
.edu-buyer-category-grid button.is-active {
  border-color: rgba(34, 211, 238, 0.62);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(124, 58, 237, 0.1));
  transform: translateY(-2px);
}

.edu-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 24px;
  align-items: stretch;
}

.edu-account-tokens {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.edu-account-tokens__head {
  display: grid;
  gap: 4px;
}

.edu-account-tokens__head strong {
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: 14px;
}

.edu-account-tokens__head span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.edu-auth-modal__intro--compact {
  max-width: none;
}

.edu-account-form {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.edu-account-form label {
  display: grid;
  gap: 8px;
}

.edu-account-form label span {
  color: rgba(244, 240, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.edu-account-form input {
  min-height: 50px;
  width: 100%;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  outline: none;
}

.edu-account-form input:focus {
  border-color: rgba(220, 140, 219, 0.62);
  box-shadow: 0 0 0 3px rgba(220, 140, 219, 0.12);
}

.edu-account-form button {
  justify-self: start;
}

.edu-account-form.is-preview-ready button {
  background: linear-gradient(135deg, #22c55e, #86efac);
}

.edu-profile-preview {
  position: relative;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.edu-profile-preview::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 230px;
  background: radial-gradient(circle, rgba(220, 140, 219, 0.42), transparent 64%);
}

.edu-profile-preview--buyer::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.38), transparent 64%);
}

.edu-profile-preview__badge,
.edu-profile-preview__avatar,
.edu-profile-preview h3,
.edu-profile-preview p,
.edu-profile-preview__stats {
  position: relative;
  z-index: 1;
}

.edu-profile-preview__badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(246, 241, 255, 0.9);
  font-size: 11px;
  font-weight: 900;
}

.edu-profile-preview__avatar {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  margin-top: 52px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.edu-profile-preview__avatar img {
  width: 70px;
  height: 70px;
}

.edu-profile-preview h3 {
  margin: 22px 0 10px;
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: 28px;
  line-height: 1.05;
}

.edu-profile-preview p {
  margin: 0;
  color: rgba(244, 240, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.edu-profile-preview__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.edu-profile-preview__stats span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(246, 241, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
}

.edu-brand-mark {
  color: #fff;
  font-size: 17px;
  font-weight: 1000;
  letter-spacing: 0;
}

.edu-footer {
  margin-top: 0;
  padding: 42px 0 24px;
  color: rgba(224, 214, 255, 0.84);
  background: #070413;
}

.edu-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 9vw, 120px);
  padding-bottom: 46px;
}

.edu-footer__column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.edu-footer__column h4 {
  margin: 0 0 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.edu-footer__column a {
  color: rgba(224, 214, 255, 0.84);
  font-size: 14px;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.edu-footer__column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.edu-footer__bottom {
  display: grid;
  gap: 8px;
  color: rgba(224, 214, 255, 0.86);
}

.edu-footer__bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.edu-footer__bottom .edu-gradient-word {
  display: inline-block;
  margin-left: clamp(16px, 4vw, 70px);
  font-size: 14px;
  font-weight: 900;
}

@keyframes edu-logo-float {
  0%, 100% {
    transform: translateY(0) rotate(-5deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(2deg) scale(1.035);
  }
}

@keyframes edu-modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes edu-token-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes edu-rainbow-text {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 320% 50%;
  }
}

@keyframes edu-button-path-drift {
  from {
    transform: translateX(-8px) rotate(-17deg);
  }
  to {
    transform: translateX(18px) rotate(-11deg);
  }
}

@keyframes edu-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes edu-related-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.34);
  }
}

@keyframes edu-neon-pulse {
  0%, 100% {
    opacity: 0.52;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes edu-marquee-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-33.333% - var(--marquee-gap)));
  }
}

@keyframes edu-liquid-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 980px) {
  .edu-header {
    position: relative;
    min-height: 86px;
    border-bottom-right-radius: 42px;
  }

  .edu-nav nav {
    display: none;
  }

  .edu-menu {
    display: inline-flex;
  }

  .edu-hero {
    padding-top: 70px;
    min-height: auto;
  }

  .edu-hero__grid,
  .edu-cta__grid,
  .edu-contact__grid {
    grid-template-columns: 1fr;
  }

  .edu-3d-testimonials {
    padding: 110px 0 132px;
  }

  .edu-3d-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .edu-3d-testimonials__copy {
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }

  .edu-3d-testimonials__scene {
    height: 570px;
  }

  .edu-3d-testimonials__tilt {
    transform: translateX(-86px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg);
  }

  .edu-forum-scroll {
    min-height: 1060px;
  }

  .edu-forum-layout {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 38px));
  }

  .edu-forum-layout aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-forum-layout aside strong {
    grid-column: 1 / -1;
  }

  .edu-hero__copy {
    text-align: center;
  }

  .edu-hero__copy h1 {
    margin-inline: auto;
  }

  .edu-hero__visual {
    min-height: 420px;
  }

  .edu-service-grid,
  .edu-course-grid,
  .edu-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-skill-orbit {
    height: 620px;
  }

  .edu-skill-node {
    transform:
      translate(-50%, -50%)
      rotate(calc((360deg / 5) * var(--i)))
      translateX(165px)
      rotate(calc((360deg / -5) * var(--i)));
  }

  .edu-auth-modal__roles,
  .edu-token-grid {
    grid-template-columns: 1fr;
  }

  .edu-token-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-auth-modal__panel--choice {
    padding-right: clamp(22px, 4vw, 38px);
  }

  .edu-auth-choice-art {
    position: relative;
    right: auto;
    top: auto;
    width: min(360px, 80%);
    margin: 28px auto 0;
    transform: none;
  }

  .edu-buyer-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edu-account-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .edu-container {
    width: min(100% - 30px, 1140px);
  }

  .edu-logo {
    font-size: 18px;
  }

  .edu-logo img {
    width: 34px;
    height: 34px;
  }

  .edu-hero {
    padding-top: 52px;
  }

  .edu-hero__copy h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .edu-hero__visual {
    min-height: 330px;
  }

  .edu-service-grid,
  .edu-course-grid,
  .edu-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .edu-forum-scroll {
    min-height: 1180px;
    padding: 76px 0 92px;
  }

  .edu-3d-testimonials {
    padding: 84px 0 104px;
  }

  .edu-3d-testimonials__copy h6 {
    font-size: 11px;
  }

  .edu-3d-testimonials__copy h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .edu-3d-testimonials__copy p {
    font-size: 13px;
  }

  .edu-3d-testimonials__scene {
    height: 500px;
    width: calc(100% + 42px);
    margin-left: -21px;
    border-radius: 0;
    border-inline: 0;
  }

  .edu-3d-testimonials__tilt {
    gap: 12px;
    transform: translateX(-138px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg);
  }

  .edu-3d-testimonials__headline {
    margin-bottom: 34px;
  }

  .edu-3d-testimonials__headline h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .edu-3d-testimonials__outro {
    gap: 20px;
    margin-top: 38px;
  }

  .edu-3d-testimonials__outro p {
    font-size: 14px;
  }

  .edu-liquid-button {
    min-width: 184px;
    height: 54px;
  }

  .edu-auth-modal {
    padding: 10px;
    align-items: end;
  }

  .edu-auth-modal__panel {
    max-height: 92vh;
    padding: 22px 16px 18px;
    border-radius: 22px 22px 18px 18px;
  }

  .edu-auth-modal__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .edu-auth-modal__intro {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-right: 44px;
  }

  .edu-auth-modal__panel--choice .edu-auth-modal__intro {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding-right: 38px;
  }

  .edu-auth-modal__panel--choice .edu-auth-modal__logo {
    width: 42px;
    height: 42px;
  }

  .edu-auth-modal__panel--choice .edu-auth-modal__logo img {
    width: 36px;
    height: 36px;
  }

  .edu-auth-modal__logo {
    width: 68px;
    height: 68px;
  }

  .edu-auth-modal__logo img {
    width: 48px;
    height: 48px;
  }

  .edu-auth-modal__intro h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .edu-auth-modal__intro p,
  .edu-auth-modal__tokens-head p,
  .edu-auth-modal__flow p {
    font-size: 13px;
  }

  .edu-auth-modal__roles {
    margin-top: 18px;
  }

  .edu-auth-role {
    min-height: auto;
    padding: 16px;
  }

  .edu-auth-modal__flow {
    padding: 15px;
  }

  .edu-token-button {
    min-height: 82px;
    padding: 14px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .edu-token-button__icon {
    width: 46px;
    height: 46px;
  }

  .edu-token-button__copy strong {
    font-size: 14px;
  }

  .edu-token-button__copy small {
    font-size: 11px;
  }

  .edu-token-grid--compact {
    grid-template-columns: 1fr;
  }

  .edu-token-grid--compact .edu-token-button {
    min-height: 62px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .edu-buyer-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .edu-buyer-category-grid button {
    min-height: 58px;
    font-size: 12px;
  }

  .edu-account-layout {
    gap: 18px;
  }

  .edu-profile-preview {
    min-height: 320px;
    padding: 18px;
  }

  .edu-profile-preview__avatar {
    width: 82px;
    height: 82px;
    margin-top: 34px;
    border-radius: 22px;
  }

  .edu-profile-preview__avatar img {
    width: 54px;
    height: 54px;
  }

  .edu-profile-preview h3 {
    font-size: 23px;
  }

  .edu-account-form button,
  .edu-auth-continue {
    width: 100%;
  }

  .edu-3d-marquee {
    --marquee-duration: 46s;
    --marquee-gap: 12px;
    height: 590px;
    padding: 6px;
  }

  .edu-3d-review {
    width: 190px;
    padding: 14px;
  }

  .edu-3d-review__person img {
    width: 34px;
    height: 34px;
  }

  .edu-3d-review__person strong,
  .edu-3d-review p {
    font-size: 12px;
  }

  .edu-forum-scroll__stage {
    top: 64px;
    min-height: calc(100vh - 70px);
    gap: 30px;
  }

  .edu-forum-scroll__header h6 {
    font-size: 11px;
  }

  .edu-forum-scroll__header h2 {
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1.08;
  }

  .edu-forum-scroll__header p {
    font-size: 13px;
  }

  .edu-forum-device {
    width: 100%;
  }

  .edu-forum-device__bezel {
    height: 650px;
    padding: 8px;
    border-width: 3px;
    border-radius: 26px;
  }

  .edu-forum-screen {
    border-radius: 19px;
  }

  .edu-forum-topbar {
    padding: 16px;
  }

  .edu-forum-topbar span {
    font-size: 16px;
  }

  .edu-forum-topbar button {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .edu-forum-hero-card {
    width: calc(100% - 24px);
    padding: 18px;
  }

  .edu-forum-layout {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .edu-forum-layout aside {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .edu-forum-layout aside span {
    padding: 8px;
    font-size: 11px;
  }

  .edu-forum-thread-list article {
    grid-template-columns: 38px 1fr;
    min-height: auto;
    padding: 12px;
  }

  .edu-forum-thread-list i {
    width: 38px;
    height: 38px;
  }

  .edu-forum-thread-list em {
    grid-column: 2;
    justify-self: start;
  }

  .edu-skill-orbit {
    height: auto;
    min-height: 0;
    padding: 144px 0 0;
  }

  .edu-skill-orbit::before,
  .edu-skill-orbit::after {
    width: 240px;
    height: 240px;
    top: 92px;
  }

  .edu-skill-orbit__center {
    top: 92px;
    width: 94px;
    height: 94px;
  }

  .edu-skill-orbit__center img {
    width: 48px;
  }

  .edu-skill-node {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 86px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    text-align: left;
    transform: none;
    box-shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
  }

  .edu-skill-node__pulse {
    display: none;
  }

  .edu-skill-node__icon {
    margin: 0;
  }

  .edu-skill-node__title {
    position: static;
    width: auto;
    max-width: none;
    color: #33235f;
    font-size: 13px;
    text-align: left;
    transform: none;
  }

  .edu-skill-card {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .edu-skill-node:hover,
  .edu-skill-node.is-active {
    z-index: 5;
    filter: none;
  }

  .edu-skill-node:hover .edu-skill-node__icon,
  .edu-skill-node.is-active .edu-skill-node__icon,
  .edu-skill-node.is-related .edu-skill-node__icon {
    border-color: rgba(124, 58, 237, 0.3);
    background: #111827;
    color: #fff;
    transform: none;
    box-shadow: none;
    animation: none;
  }

  .edu-skill-node:hover .edu-skill-card,
  .edu-skill-node.is-active .edu-skill-card {
    opacity: 1;
    transform: none;
  }

  .edu-services,
  .edu-courses,
  .edu-testimonials,
  .edu-contact,
  .edu-cta {
    padding-block: 70px;
  }

  .edu-contact__form {
    padding: 26px;
  }

  .edu-footer {
    padding: 34px 0 22px;
  }

  .edu-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  .edu-footer__column {
    gap: 12px;
  }

  .edu-footer__bottom .edu-gradient-word {
    display: block;
    margin-left: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .edu-logo-stage img,
  .edu-logo-glow,
  .edu-3d-marquee__track,
  .edu-liquid-button__blob,
  .edu-token-button__sweep,
  .edu-token-button.is-connecting .edu-token-button__icon::after {
    animation: none;
  }
}

.bfl-platform-mode {
  margin: 0;
  background: #f8f7ff;
}

.bfl-platform-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 9%, rgba(124, 58, 237, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7f3ff 46%, #fff 100%);
  color: #111827;
  font-family: var(--edu-font);
}

.bfl-platform-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(18px);
}

.bfl-platform-brand,
.bfl-platform-nav nav {
  display: flex;
  align-items: center;
}

.bfl-platform-brand {
  gap: 10px;
  color: #111827;
  font-weight: 1000;
  text-decoration: none;
}

.bfl-platform-brand img {
  width: 38px;
  height: 38px;
}

.bfl-platform-nav nav {
  gap: 16px;
  flex-wrap: wrap;
}

.bfl-platform-nav nav a {
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.bfl-platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 46px;
}

.bfl-platform-hero__copy span {
  color: var(--edu-purple);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.bfl-platform-hero__copy h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: #0f1020;
  font-family: var(--edu-code-next);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.bfl-platform-hero__copy p {
  max-width: 680px;
  color: #5f6574;
  font-size: 16px;
  line-height: 1.85;
}

.bfl-platform-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.bfl-platform-hero__actions a,
.bfl-platform-login,
.bfl-platform-actions button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  padding: 14px 18px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.25);
}

.bfl-platform-hero__actions a + a {
  background: #fff;
  color: #3d2f68;
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: none;
}

.bfl-platform-orb {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.bfl-platform-orb__glow {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32), transparent 68%);
  filter: blur(8px);
}

.bfl-platform-orb__card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(330px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: linear-gradient(145deg, #08051a, #20105b);
  color: #fff;
  box-shadow: 0 34px 90px rgba(17, 7, 50, 0.24);
}

.bfl-platform-orb__card img {
  width: 86px;
  height: 86px;
  padding: 15px;
  border-radius: 22px;
  background: #fff;
  filter: drop-shadow(0 0 26px rgba(168, 85, 247, 0.48));
}

.bfl-platform-orb__card strong {
  font-family: var(--edu-code-next);
  font-size: 28px;
  line-height: 1.05;
}

.bfl-platform-orb__card span {
  color: rgba(255, 255, 255, 0.68);
}

.bfl-platform-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 90px;
}

.bfl-platform-sidebar,
.bfl-platform-workspace {
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(17, 7, 50, 0.08);
}

.bfl-platform-sidebar {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 18px;
  position: sticky;
  top: 84px;
}

.bfl-platform-profile {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  background: #0c0823;
  color: #fff;
}

.bfl-platform-profile img {
  width: 78px;
  height: 78px;
  border-radius: 18px;
}

.bfl-platform-profile strong {
  font-size: 21px;
}

.bfl-platform-profile span,
.bfl-platform-profile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.bfl-platform-profile div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bfl-platform-profile em {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 7px 10px;
}

.bfl-platform-status {
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.08);
  color: #5b21b6;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  padding: 12px;
}

.bfl-platform-status.is-authenticated {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.bfl-platform-workspace {
  padding: clamp(18px, 3vw, 34px);
}

.bfl-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.bfl-platform-tabs button {
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #31264c;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  padding: 11px 16px;
}

.bfl-platform-tabs button.is-active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(79, 70, 229, 0.12));
  border-color: rgba(124, 58, 237, 0.4);
}

.bfl-platform-panel {
  display: none;
}

.bfl-platform-panel.is-active {
  display: block;
}

.bfl-platform-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.bfl-platform-panel__head h2 {
  margin: 0;
  font-family: var(--edu-code-next);
  font-size: clamp(24px, 3vw, 36px);
}

.bfl-platform-panel__head span {
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--edu-purple);
  font-size: 12px;
  font-weight: 1000;
  padding: 8px 12px;
}

.bfl-platform-panel__head span[data-state="error"] {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.bfl-platform-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bfl-platform-form-grid__wide {
  grid-column: 1 / -1;
}

.bfl-platform-form-grid label {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 1000;
}

.bfl-platform-form-grid input,
.bfl-platform-form-grid select,
.bfl-platform-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 13px;
  background: #fff;
  color: #111827;
  font: inherit;
  padding: 13px 14px;
}

.bfl-platform-form-grid textarea {
  min-height: 122px;
  resize: vertical;
}

.bfl-platform-package-row,
.bfl-platform-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bfl-platform-package-row article,
.bfl-platform-drafts article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, rgba(244, 232, 255, 0.55));
  padding: 18px;
}

.bfl-platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.bfl-platform-actions button:last-child {
  background: linear-gradient(135deg, #111827, #312e81);
}

.bfl-platform-preview-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
}

.bfl-platform-listing-card {
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 7, 50, 0.08);
}

.bfl-platform-listing-card__cover {
  display: grid;
  place-items: center;
  min-height: 180px;
  background:
    radial-gradient(circle at 50% 44%, rgba(124, 58, 237, 0.28), transparent 14rem),
    linear-gradient(145deg, #09051a, #241167);
}

.bfl-platform-listing-card__cover img {
  width: 94px;
  height: 94px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
}

.bfl-platform-listing-card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.bfl-platform-listing-card__body > span {
  color: var(--edu-purple);
  font-size: 12px;
  font-weight: 1000;
}

.bfl-platform-listing-card h3 {
  margin: 0;
  font-size: 25px;
}

.bfl-platform-listing-card p {
  color: #667085;
  line-height: 1.75;
}

.bfl-platform-listing-card [data-platform-preview-tags] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bfl-platform-listing-card i {
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--edu-purple);
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
  padding: 7px 10px;
}

.bfl-platform-listing-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef0f5;
  padding-top: 14px;
}

.bfl-platform-listing-card footer strong {
  color: #111827;
  font-size: 26px;
}

.bfl-platform-drafts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.bfl-platform-empty {
  border: 1px dashed rgba(124, 58, 237, 0.24);
  border-radius: 16px;
  color: #667085;
  line-height: 1.6;
  margin: 0;
  padding: 18px;
}

.bfl-platform-command {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 430px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(124, 58, 237, 0.28), transparent 12rem),
    linear-gradient(145deg, #070414, #17113b 54%, #2b145f);
  color: #fff;
  box-shadow: 0 34px 90px rgba(30, 16, 80, 0.22);
  overflow: hidden;
}

.bfl-platform-command::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% 24%;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.bfl-platform-command__brand,
.bfl-platform-command__stats,
.bfl-platform-command__flow {
  position: relative;
  z-index: 1;
}

.bfl-platform-command__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bfl-platform-command__brand img {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}

.bfl-platform-command__search {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.bfl-platform-command__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bfl-platform-command__stats span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
}

.bfl-platform-command__stats b {
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.bfl-platform-command__flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bfl-platform-command__flow i {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.bfl-platform-side-nav,
.bfl-level-card {
  display: grid;
  gap: 10px;
}

.bfl-platform-side-nav a {
  padding: 12px 13px;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #33245b;
  font-size: 13px;
  font-weight: 900;
}

.bfl-level-card {
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 10%, rgba(220, 140, 219, 0.22), transparent 7rem),
    linear-gradient(145deg, #0b061c, #241061);
  color: #fff;
}

.bfl-level-card span,
.bfl-level-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
}

.bfl-level-card strong {
  color: #fff;
  font-size: 20px;
}

.bfl-level-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.6;
}

.bfl-level-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.bfl-level-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #dc8cdb);
}

.bfl-market-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.bfl-market-toolbar h2,
.bfl-market-toolbar p {
  margin: 0;
}

.bfl-market-toolbar h2 {
  color: #111827;
  font-family: var(--edu-code-next);
  font-size: clamp(28px, 4vw, 46px);
}

.bfl-market-toolbar p {
  margin-top: 8px;
  color: #667085;
}

.bfl-market-toolbar label {
  display: grid;
  gap: 8px;
  min-width: min(100%, 320px);
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.bfl-market-toolbar input {
  min-height: 48px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 14px;
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.bfl-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.bfl-category-strip button {
  min-height: 40px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #33245b;
  padding: 0 15px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.bfl-category-strip button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--edu-purple), var(--edu-pink));
  color: #fff;
}

.bfl-market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-bottom: 24px;
}

.bfl-market-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(30, 16, 80, 0.08);
}

.bfl-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bfl-service-card,
.bfl-request-card,
.bfl-buyer-preview-card,
.bfl-draft-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  background: #fff;
}

.bfl-service-card div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bfl-service-card img {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.09);
}

.bfl-service-card span,
.bfl-request-card span,
.bfl-buyer-preview-card > span,
.bfl-draft-item em {
  color: var(--edu-purple);
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.bfl-service-card h3,
.bfl-request-card h3,
.bfl-buyer-preview-card h3,
.bfl-draft-item strong {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.25;
}

.bfl-service-card p,
.bfl-request-card p,
.bfl-buyer-preview-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.62;
}

.bfl-service-card footer,
.bfl-request-card footer,
.bfl-buyer-preview-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef0f5;
}

.bfl-request-list {
  display: grid;
  gap: 12px;
}

.bfl-request-card button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.bfl-builder-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.bfl-builder-steps span {
  padding: 10px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  color: #33245b;
  font-size: 11px;
  font-weight: 1000;
  text-align: center;
}

.bfl-panel-note {
  margin: -8px 0 18px;
  color: #667085;
  line-height: 1.7;
}

.bfl-buyer-preview-card {
  background:
    radial-gradient(circle at 85% 5%, rgba(124, 58, 237, 0.12), transparent 8rem),
    #fff;
}

@media (max-width: 980px) {
  .bfl-platform-hero,
  .bfl-platform-shell,
  .bfl-market-grid,
  .bfl-platform-preview-grid {
    grid-template-columns: 1fr;
  }

  .bfl-platform-sidebar {
    position: static;
  }

  .bfl-market-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .bfl-service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .bfl-platform-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .bfl-platform-hero {
    padding-top: 42px;
  }

  .bfl-platform-form-grid,
  .bfl-platform-package-row,
  .bfl-platform-command__stats,
  .bfl-service-grid,
  .bfl-builder-steps {
    grid-template-columns: 1fr;
  }

  .bfl-platform-panel__head,
  .bfl-platform-listing-card footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.bfl-dashboard-page,
.bfl-dashboard-page * {
  box-sizing: border-box;
}

.bfl-dashboard-page {
  min-height: 100vh;
  background: #f8f9fd;
  color: #12172f;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.bfl-dash-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 260px 44px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid #e9ecf4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.bfl-dash-brand,
.bfl-dash-mainnav,
.bfl-dash-alerts,
.bfl-dash-user {
  display: flex;
  align-items: center;
}

.bfl-dash-brand {
  gap: 10px;
  color: #12172f;
  text-decoration: none;
}

.bfl-dash-brand img {
  width: 38px;
  height: 38px;
}

.bfl-dash-brand strong {
  color: #5336e8;
  font-size: 25px;
  font-weight: 900;
}

.bfl-dash-icon,
.bfl-dash-alerts button,
.bfl-dash-user button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #27304f;
  cursor: pointer;
  font: inherit;
}

.bfl-dash-mainnav {
  justify-content: center;
  gap: 30px;
  height: 72px;
}

.bfl-dash-mainnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: #252c47;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.bfl-dash-mainnav a.is-active {
  color: #4f34e8;
}

.bfl-dash-mainnav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #5a39f0;
}

.bfl-dash-mainnav span,
.bfl-dash-alerts span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 999px;
  background: #5a39f0;
  color: #fff;
  font-size: 11px;
}

.bfl-dash-post-btn,
.bfl-dash-mini-card button,
.bfl-dash-becoin-actions button:last-child {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #6f45f2, #4d2bdd);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(86, 57, 232, 0.22);
}

.bfl-dash-post-btn {
  padding: 13px 20px;
  white-space: nowrap;
}

.bfl-dash-alerts {
  gap: 8px;
}

.bfl-dash-alerts button {
  position: relative;
  border: 1px solid #edf0f7;
  background: #fff;
}

.bfl-dash-alerts span {
  position: absolute;
  top: -5px;
  right: -5px;
  margin: 0;
}

.bfl-dash-user {
  gap: 11px;
}

.bfl-dash-user img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.bfl-dash-user strong {
  display: block;
  color: #12172f;
  font-size: 14px;
}

.bfl-dash-user small {
  color: #6f7896;
  font-size: 12px;
}

.bfl-dash-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
}

.bfl-dash-sidebar {
  min-height: calc(100vh - 72px);
  padding: 24px 16px;
  border-right: 1px solid #e9ecf4;
  background: #fff;
}

.bfl-dash-sidebar h4 {
  margin: 0 10px 12px;
  color: #10162d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.bfl-dash-sidebar nav {
  display: grid;
  gap: 4px;
  padding-bottom: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf0f7;
}

.bfl-dash-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 39px;
  padding: 0 12px;
  border-radius: 8px;
  color: #303854;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.bfl-dash-sidebar nav a.is-active {
  background: #f0edff;
  color: #5a39f0;
}

.bfl-dash-promo {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 11px;
  margin: 26px 8px 0;
  padding: 22px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 64%, rgba(111, 69, 242, 0.45), transparent 7rem),
    linear-gradient(145deg, #070923, #10124a);
  color: #fff;
}

.bfl-dash-promo strong {
  font-size: 18px;
  line-height: 1.25;
}

.bfl-dash-promo p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.bfl-dash-promo img {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: 110px;
  height: 110px;
}

.bfl-dash-promo button {
  position: relative;
  z-index: 1;
  width: 138px;
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #5a39f0;
  font-weight: 800;
}

.bfl-dash-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  padding: 22px 28px 28px;
}

.bfl-dash-primary {
  min-width: 0;
}

.bfl-dash-search-card,
.bfl-dash-featured,
.bfl-dash-mini-card,
.bfl-dash-progress-card,
.bfl-dash-becoin-card,
.bfl-dash-activity-card,
.bfl-dash-stats {
  border: 1px solid #e6e9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 23, 47, 0.04);
}

.bfl-dash-search-card {
  padding: 18px;
}

.bfl-dash-search-card h2,
.bfl-dash-featured h2,
.bfl-dash-mini-card h3,
.bfl-dash-progress-card h3,
.bfl-dash-becoin-card h3,
.bfl-dash-activity-card h3 {
  margin: 0;
  color: #11172f;
  font-size: 20px;
  font-weight: 900;
}

.bfl-dash-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 98px;
  gap: 0;
  margin-top: 16px;
}

.bfl-dash-search-row label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #dfe4ef;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.bfl-dash-search-row input,
.bfl-dash-search-row select,
.bfl-dash-mini-card input,
.bfl-dash-mini-card select {
  width: 100%;
  border: 1px solid #dfe4ef;
  border-radius: 7px;
  background: #fff;
  color: #222a45;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.bfl-dash-search-row input {
  border: 0;
}

.bfl-dash-search-row select {
  min-height: 46px;
  border-radius: 0;
  padding: 0 14px;
}

.bfl-dash-search-row button {
  border-radius: 0 8px 8px 0;
}

.bfl-dash-category-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.bfl-dash-category-row button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid #e7ebf4;
  border-radius: 9px;
  background: #fff;
  color: #44506e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  padding: 8px 10px;
  text-align: left;
}

.bfl-dash-category-row button::first-letter {
  color: #5a39f0;
}

.bfl-dash-category-row button.is-active {
  border-color: #d8d1ff;
  background: #f5f2ff;
  color: #5a39f0;
}

.bfl-dash-featured {
  margin-top: 18px;
  padding: 18px;
}

.bfl-dash-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.bfl-dash-section-head a {
  color: #5a39f0;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.bfl-dash-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bfl-dash-service-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e7ebf4;
  border-radius: 10px;
  background: #fff;
}

.bfl-dash-service-card__cover {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: #0c102a;
}

.bfl-dash-service-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfl-dash-service-card__cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #5a39f0;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.bfl-dash-service-card__seller,
.bfl-dash-service-card__meta,
.bfl-dash-service-card footer {
  display: flex;
  align-items: center;
}

.bfl-dash-service-card__seller {
  gap: 8px;
  padding: 13px 14px 0;
}

.bfl-dash-service-card__seller img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.bfl-dash-service-card__seller strong {
  color: #1d2440;
  font-size: 12px;
}

.bfl-dash-service-card__seller i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18bf78;
}

.bfl-dash-service-card__seller small {
  margin-left: auto;
  color: #7a839d;
  font-size: 11px;
}

.bfl-dash-service-card h3 {
  min-height: 48px;
  margin: 15px 14px 8px;
  color: #10172f;
  font-size: 17px;
  line-height: 1.35;
}

.bfl-dash-service-card p {
  min-height: 43px;
  margin: 0 14px 12px;
  color: #68728e;
  font-size: 13px;
  line-height: 1.45;
}

.bfl-dash-service-card__meta {
  justify-content: space-between;
  margin: 0 14px 13px;
}

.bfl-dash-service-card__meta span {
  color: #12172f;
  font-size: 13px;
}

.bfl-dash-service-card__meta span::first-letter {
  color: #f59e0b;
}

.bfl-dash-service-card__meta small {
  color: #7a839d;
  font-size: 11px;
}

.bfl-dash-service-card footer {
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 16px;
}

.bfl-dash-service-card footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bfl-dash-service-card em {
  padding: 5px 8px;
  border-radius: 5px;
  background: #f3f5fa;
  color: #76809c;
  font-size: 10px;
  font-style: normal;
}

.bfl-dash-service-card footer strong {
  white-space: nowrap;
  color: #10172f;
  font-size: 18px;
}

.bfl-dash-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.bfl-dash-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5cada;
}

.bfl-dash-dots i.is-active {
  background: #5a39f0;
}

.bfl-dash-right {
  display: grid;
  align-content: start;
  gap: 18px;
}

.bfl-dash-mini-card {
  display: grid;
  gap: 13px;
  padding: 20px;
}

.bfl-dash-mini-title {
  display: flex;
  gap: 12px;
}

.bfl-dash-mini-title > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f0edff;
  color: #5a39f0;
}

.bfl-dash-mini-card p {
  margin: 4px 0 0;
  color: #6f7896;
  font-size: 13px;
  line-height: 1.45;
}

.bfl-dash-mini-card label {
  display: grid;
  gap: 7px;
  color: #202844;
  font-size: 12px;
  font-weight: 700;
}

.bfl-dash-mini-card input,
.bfl-dash-mini-card select {
  min-height: 38px;
  padding: 0 12px;
}

.bfl-dash-mini-card button {
  min-height: 44px;
}

.bfl-dash-mini-card small[data-state="error"] {
  color: #dc2626;
}

.bfl-dash-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
}

.bfl-dash-steps i {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #dbe0eb;
  color: #a4acc0;
  font-size: 11px;
  font-style: normal;
}

.bfl-dash-steps i.is-active {
  border-color: transparent;
  background: #5a39f0;
  color: #fff;
}

.bfl-dash-mini-card h4 {
  margin: 0;
  color: #10172f;
  font-size: 15px;
}

.bfl-dash-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bfl-dash-ghost {
  border: 1px solid #d8d1ff !important;
  background: #fff !important;
  color: #5a39f0 !important;
  box-shadow: none !important;
}

.bfl-dash-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}

.bfl-dash-progress-card,
.bfl-dash-becoin-card,
.bfl-dash-activity-card {
  padding: 18px;
}

.bfl-dash-progress-card > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(210px, 0.8fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid #edf0f7;
  border-radius: 12px;
}

.bfl-dash-progress-card img {
  width: 112px;
  height: 112px;
}

.bfl-dash-progress-card strong {
  display: block;
  color: #5a39f0;
  font-size: 32px;
}

.bfl-dash-progress-card em {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0edff;
  color: #5a39f0;
  font-size: 10px;
  font-style: normal;
}

.bfl-dash-progress-card p {
  color: #707b98;
  font-size: 13px;
}

.bfl-dash-progress-card span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebeef6;
}

.bfl-dash-progress-card span i {
  display: block;
  height: 100%;
  background: #5a39f0;
}

.bfl-dash-progress-card ul,
.bfl-dash-becoin-card ul,
.bfl-dash-activity-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfl-dash-progress-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #27304f;
  font-size: 13px;
}

.bfl-dash-progress-card li::first-letter {
  color: #10b981;
}

.bfl-dash-progress-card button,
.bfl-dash-activity-card button,
.bfl-dash-becoin-actions button {
  min-height: 36px;
  border: 1px solid #5a39f0;
  border-radius: 7px;
  background: #fff;
  color: #5a39f0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.bfl-dash-progress-card > button {
  display: block;
  width: 170px;
  margin: 16px auto 0;
}

.bfl-dash-becoin-balance {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.bfl-dash-becoin-balance img {
  width: 68px;
  height: 68px;
}

.bfl-dash-becoin-balance span,
.bfl-dash-becoin-balance small {
  color: #7b849d;
  font-size: 12px;
}

.bfl-dash-becoin-balance strong {
  display: block;
  color: #10172f;
  font-size: 34px;
}

.bfl-dash-becoin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bfl-dash-becoin-card ul {
  margin-top: 18px;
}

.bfl-dash-becoin-card li {
  color: #27304f;
  font-size: 13px;
}

.bfl-dash-becoin-card a {
  display: inline-block;
  margin-top: 12px;
  color: #5a39f0;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.bfl-dash-activity-card li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f7;
}

.bfl-dash-activity-card li i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0edff;
  color: #5a39f0;
  font-style: normal;
}

.bfl-dash-activity-card li strong {
  color: #1f2945;
  font-size: 13px;
}

.bfl-dash-activity-card li span,
.bfl-dash-activity-card li small {
  color: #7b849d;
  font-size: 12px;
}

.bfl-dash-activity-card button {
  width: 100%;
  margin-top: 12px;
}

.bfl-dash-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 18px;
  margin-top: -4px;
}

.bfl-dash-stats div {
  display: grid;
  gap: 5px;
  padding: 0 24px;
  border-right: 1px solid #edf0f7;
}

.bfl-dash-stats div:last-child {
  border-right: 0;
}

.bfl-dash-stats span {
  color: #7b849d;
  font-size: 12px;
}

.bfl-dash-stats strong {
  color: #10172f;
  font-size: 24px;
}

.bfl-dash-stats em {
  color: #10b981;
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 1280px) {
  .bfl-dash-topbar {
    grid-template-columns: 230px 40px minmax(0, 1fr) auto;
  }

  .bfl-dash-alerts,
  .bfl-dash-user {
    display: none;
  }

  .bfl-dash-main {
    grid-template-columns: 1fr;
  }

  .bfl-dash-right {
    grid-template-columns: 1fr 1fr;
  }

  .bfl-dash-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .bfl-dash-layout {
    grid-template-columns: 1fr;
  }

  .bfl-dash-sidebar {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e9ecf4;
  }

  .bfl-dash-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bfl-dash-mainnav {
    display: none;
  }

  .bfl-dash-topbar {
    grid-template-columns: 1fr auto auto;
  }

  .bfl-dash-icon {
    order: 2;
  }

  .bfl-dash-post-btn {
    order: 3;
  }

  .bfl-dash-service-grid,
  .bfl-dash-right,
  .bfl-dash-stats {
    grid-template-columns: 1fr 1fr;
  }

  .bfl-dash-category-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bfl-dash-topbar,
  .bfl-dash-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .bfl-dash-search-row,
  .bfl-dash-category-row,
  .bfl-dash-service-grid,
  .bfl-dash-right,
  .bfl-dash-two,
  .bfl-dash-progress-card > div,
  .bfl-dash-stats {
    grid-template-columns: 1fr;
  }

  .bfl-dash-search-row label,
  .bfl-dash-search-row select,
  .bfl-dash-search-row button {
    border: 1px solid #dfe4ef;
    border-radius: 8px;
  }

  .bfl-dash-stats div {
    border-right: 0;
    border-bottom: 1px solid #edf0f7;
    padding: 12px 0;
  }
}

/* Final freelancer home overrides loaded after the legacy dashboard rules. */
.bfl-dashboard-page .bfl-fh-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) minmax(260px, 330px);
  align-items: start;
}

.bfl-dashboard-page .bfl-fh-main {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 24px 28px 44px;
}

.bfl-dashboard-page .bfl-fh-right {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px 22px 44px 0;
}

@media (max-width: 1180px) {
  .bfl-dashboard-page .bfl-fh-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .bfl-dashboard-page .bfl-fh-right {
    grid-column: 2;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 28px 44px;
  }
}

@media (max-width: 860px) {
  .bfl-dashboard-page .bfl-fh-layout {
    display: block;
  }

  .bfl-dashboard-page .bfl-fh-main {
    padding: 20px;
  }

  .bfl-dashboard-page .bfl-fh-right {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 20px 34px;
  }
}

/* Clean freelancer home composition. */
.bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-topbar {
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  column-gap: 22px;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-topnav {
  justify-content: flex-start;
  gap: 0;
  height: 72px;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: 18px 28px;
  align-items: start;
  padding: 24px 0 44px;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-sidebar,
.bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-promo {
  display: none !important;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-main {
  display: contents;
  min-width: 0;
  padding: 0;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-banner {
  grid-column: 1 / -1;
  width: 100%;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-announcement {
  grid-column: 1 / -1;
  width: 100%;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-work {
  grid-column: 1;
  padding-left: 28px;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-work h2 {
  color: #5336e8;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-right {
  grid-column: 2;
  grid-row: 3;
  position: sticky;
  top: 92px;
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 0 22px 44px 0;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-boost-card {
  width: 100%;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-post-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 118px;
  max-width: 150px;
  padding: 12px 18px;
}

.bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-post-btn .bfl-dash-menu-icon {
  width: 23px;
  height: 23px;
  filter: none;
}

@media (max-width: 1280px) {
  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-topbar {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-alerts {
    display: flex;
  }
}

@media (max-width: 1180px) {
  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-layout {
    grid-template-columns: 1fr;
    padding: 20px 0 44px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-main {
    display: contents;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-right {
    grid-column: 1;
    grid-row: auto;
    position: static;
    padding: 0 28px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-work {
    padding-right: 28px;
  }
}

@media (max-width: 860px) {
  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-topbar {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    column-gap: 14px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-topnav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    height: 72px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-post-btn,
  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-dash-alerts {
    display: none;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-layout {
    padding: 20px 0 34px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-right {
    padding: 0 20px;
  }

  .bfl-dashboard-page.bfl-freelancer-home-page .bfl-fh-work {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Standalone platform routes. */
.bfl-simple-platform {
  overflow-x: hidden;
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 54px) 60px;
  background:
    radial-gradient(circle at 86% 8%, rgba(213, 82, 163, 0.13), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(83, 54, 232, 0.13), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
  color: #10172f;
}

.bfl-simple-platform *,
.bfl-simple-platform *::before,
.bfl-simple-platform *::after {
  box-sizing: border-box;
}

.bfl-app-header {
  position: sticky;
  top: 14px;
  z-index: 80;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 42px;
  border: 1px solid rgba(83, 54, 232, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(22px);
}

.bfl-app-header__nav {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 18px;
}

.bfl-app-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10172f;
  font-weight: 950;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.bfl-app-header__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.bfl-app-header__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.bfl-app-header__links > a,
.bfl-app-header__about > button,
.bfl-app-header__signin,
.bfl-app-header__cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 15px;
  background: transparent;
  color: #1a2140;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.bfl-app-header__links > a:hover,
.bfl-app-header__links > a:focus-visible,
.bfl-app-header__about > button:hover,
.bfl-app-header__about > button:focus-visible,
.bfl-app-header__signin:hover,
.bfl-app-header__signin:focus-visible {
  background: rgba(83, 54, 232, 0.08);
  color: #5336e8;
  transform: translateY(-1px);
}

.bfl-app-header__about {
  position: relative;
}

.bfl-app-header__about-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(320px, 78vw);
  padding: 18px;
  border: 1px solid rgba(83, 54, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.16);
  color: #64708b;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.97);
  transition: opacity 220ms ease, transform 220ms ease;
}

.bfl-app-header__about:hover .bfl-app-header__about-panel,
.bfl-app-header__about:focus-within .bfl-app-header__about-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.bfl-app-header__about-panel strong {
  display: block;
  color: #10172f;
  font-size: 17px;
  margin-bottom: 6px;
}

.bfl-app-header__about-panel p {
  margin: 0;
  line-height: 1.55;
}

.bfl-app-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.bfl-app-header__actions:empty {
  display: none;
}

.bfl-app-header__signin {
  border: 1px solid rgba(83, 54, 232, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.bfl-app-header__cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #5336e8, #7c3aed 48%, #d552a3);
  box-shadow: 0 16px 34px rgba(83, 54, 232, 0.24);
}

.bfl-app-header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.bfl-app-header__cta:hover::before,
.bfl-app-header__cta:focus-visible::before {
  transform: translateX(120%);
}

.bfl-app-header__cta:hover,
.bfl-app-header__cta:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(83, 54, 232, 0.3);
}

.bfl-app-header__profile {
  justify-self: end;
}

.bfl-app-header__profile .bfl-profile-trigger {
  min-height: 48px;
  padding: 6px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.bfl-app-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(83, 54, 232, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: #5336e8;
  place-items: center;
  cursor: pointer;
}

.bfl-app-header__toggle span {
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 240ms ease;
}

.bfl-app-header__toggle span:first-child {
  transform: translateY(-4px);
}

.bfl-app-header__toggle span:last-child {
  transform: translateY(4px);
}

.bfl-header2 {
  position: relative;
  border-top: 1px solid rgba(83, 54, 232, 0.1);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 0 0 22px 22px;
}

.bfl-header2__nav {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
}

.bfl-header2__item {
  position: relative;
  display: flex;
  align-items: center;
}

.bfl-header2__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 0 12px;
  color: #64708b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bfl-header2__item:hover .bfl-header2__link,
.bfl-header2__item:focus-within .bfl-header2__link,
.bfl-header2__item.is-active .bfl-header2__link {
  color: #10172f;
  border-bottom-color: #10172f;
}

.bfl-header2__item.is-open .bfl-header2__link {
  color: #5336e8;
  border-bottom-color: #5336e8;
}

.bfl-header2__trigger {
  display: none;
}

.bfl-header2__mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: min(620px, calc(100vw - 64px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  padding: 24px 34px 26px;
  border: 1px solid rgba(83, 54, 232, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 120;
}

.bfl-header2__item:hover .bfl-header2__mega,
.bfl-header2__item:focus-within .bfl-header2__mega,
.bfl-header2__item.is-open .bfl-header2__mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.bfl-header2__item:first-child .bfl-header2__mega {
  left: 0;
  transform: translate(0, -8px);
}

.bfl-header2__item:first-child:hover .bfl-header2__mega,
.bfl-header2__item:first-child:focus-within .bfl-header2__mega,
.bfl-header2__item:first-child.is-open .bfl-header2__mega {
  transform: translate(0, 0);
}

.bfl-header2__item:last-child .bfl-header2__mega {
  right: 0;
  left: auto;
  transform: translate(0, -8px);
}

.bfl-header2__item:last-child:hover .bfl-header2__mega,
.bfl-header2__item:last-child:focus-within .bfl-header2__mega,
.bfl-header2__item:last-child.is-open .bfl-header2__mega {
  transform: translate(0, 0);
}

.bfl-header2__mega a {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 10px;
  color: #718098;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bfl-header2__mega a:hover,
.bfl-header2__mega a:focus-visible {
  background: rgba(83, 54, 232, 0.08);
  color: #5336e8;
  transform: translateX(2px);
}

.bfl-header2 [data-bfl-header2-item].is-open > .bfl-header2__mega {
  opacity: 1;
  pointer-events: auto;
}

.bfl-app-header.is-open .bfl-app-header__toggle span:first-child {
  transform: rotate(45deg);
}

.bfl-app-header.is-open .bfl-app-header__toggle span:last-child {
  transform: rotate(-45deg);
}

.bfl-dashboard-page .bfl-app-header {
  width: min(100% - 32px, 1560px);
  margin-top: 10px;
  margin-bottom: 0;
}

.bfl-dashboard-page .bfl-app-header__nav {
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
}

.bfl-empty-tool-page__stage {
  width: min(1180px, calc(100vw - 36px));
  min-height: 62vh;
  margin: 0 auto;
  border: 1px dashed rgba(83, 54, 232, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
}

.bfl-simple-platform__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.bfl-simple-platform__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5336e8;
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
}

.bfl-simple-platform__brand img {
  width: 42px;
  height: 42px;
}

.bfl-simple-platform__topbar > span {
  color: #5336e8;
  font-weight: 900;
}

.bfl-access-denied-card,
.bfl-simple-hero,
.bfl-level-hero,
.bfl-level-info-grid,
.bfl-level-grid {
  max-width: 1180px;
  margin-inline: auto;
}

.bfl-access-denied-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(36px, 6vw, 74px);
  border: 1px solid rgba(83, 54, 232, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.12);
  text-align: center;
}

.bfl-access-denied-card img {
  width: 78px;
  height: 78px;
}

.bfl-access-denied-card span,
.bfl-simple-hero span,
.bfl-level-hero span {
  color: #d552a3;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bfl-access-denied-card h1,
.bfl-simple-hero h1,
.bfl-level-hero h1 {
  margin: 0;
  color: #10172f;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.bfl-access-denied-card p,
.bfl-simple-hero p,
.bfl-level-hero p,
.bfl-level-info-grid p,
.bfl-level-card p {
  color: #64708b;
  line-height: 1.7;
}

.bfl-access-denied-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bfl-access-denied-card a,
.bfl-simple-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: #5336e8;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(83, 54, 232, 0.22);
}

.bfl-simple-hero,
.bfl-level-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(83, 54, 232, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 100px rgba(17, 24, 39, 0.1);
}

.bfl-simple-hero img {
  width: min(100%, 320px);
  justify-self: center;
  border-radius: 28px;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(83, 54, 232, 0.18));
}

.bfl-simple-hero--profile img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.bfl-level-hero img {
  width: min(100%, 240px);
  justify-self: center;
  filter: drop-shadow(0 28px 48px rgba(83, 54, 232, 0.28));
}

.bfl-level-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bfl-level-info-grid article {
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.07);
}

.bfl-level-info-grid strong {
  color: #5336e8;
  font-size: 16px;
}

.bfl-level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bfl-level-card {
  position: relative;
  overflow: hidden;
  min-height: 242px;
  padding: 20px;
  border-radius: 26px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}

.bfl-level-card::after {
  content: "";
  position: absolute;
  inset: auto -26px -32px auto;
  width: 120px;
  height: 120px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(24deg);
}

.bfl-level-card--foundation { background: linear-gradient(135deg, #2f46d6, #24b6bd); }
.bfl-level-card--pro { background: linear-gradient(135deg, #5336e8, #d552a3); }
.bfl-level-card--elite { background: linear-gradient(135deg, #11192f, #7c3aed 48%, #f59e0b); }

.bfl-level-card div {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.bfl-level-card span,
.bfl-level-card em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.bfl-level-card strong {
  font-size: 56px;
  line-height: 0.85;
}

.bfl-level-card h2 {
  margin: 24px 0 8px;
  color: #fff;
  font-size: 22px;
}

.bfl-level-card p {
  color: rgba(255, 255, 255, 0.82);
}

.bfl-level-card em {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .bfl-level-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bfl-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bfl-app-header {
    top: 10px;
    width: calc(100vw - 24px);
    margin-bottom: 26px;
    border-radius: 18px;
  }

  .bfl-app-header__nav,
  .bfl-dashboard-page .bfl-app-header__nav {
    min-height: 62px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 8px 10px 8px 12px;
  }

  .bfl-app-header__brand {
    font-size: 18px;
  }

  .bfl-app-header__brand img {
    width: 34px;
    height: 34px;
  }

  .bfl-app-header__toggle {
    display: grid;
    justify-self: end;
  }

  .bfl-app-header__links,
  .bfl-app-header__actions,
  .bfl-app-header__profile {
    display: none;
  }

  .bfl-app-header.is-open .bfl-app-header__links,
  .bfl-app-header.is-open .bfl-app-header__actions {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    justify-items: stretch;
    gap: 8px;
  }

  .bfl-app-header.is-open .bfl-app-header__links {
    padding-top: 8px;
  }

  .bfl-app-header.is-open .bfl-app-header__actions {
    grid-template-columns: 1fr;
    padding: 0 0 8px;
  }

  .bfl-app-header.is-open .bfl-header2 {
    grid-column: 1 / -1;
  }

  .bfl-app-header__links > a,
  .bfl-app-header__about > button,
  .bfl-app-header__signin,
  .bfl-app-header__cta {
    width: 100%;
    justify-content: flex-start;
  }

  .bfl-app-header__about-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    transform: none;
  }

  .bfl-app-header__about:hover .bfl-app-header__about-panel,
  .bfl-app-header__about:focus-within .bfl-app-header__about-panel {
    transform: none;
  }

  .bfl-header2 {
    overflow: visible;
    margin-inline: -10px;
    border-radius: 0 0 18px 18px;
  }

  .bfl-header2__nav {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    gap: 0;
    padding: 0 12px;
    scrollbar-width: none;
  }

  .bfl-header2__nav::-webkit-scrollbar {
    display: none;
  }

  .bfl-header2__link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bfl-header2__trigger {
    width: 26px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #5336e8;
    cursor: pointer;
  }

  .bfl-header2__trigger::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }

  .bfl-header2__mega {
    position: fixed;
    top: 96px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: min(62vh, 520px);
    overflow: auto;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 18px;
    border-radius: 22px;
    transform: translateY(-8px);
  }

  .bfl-header2__item:hover .bfl-header2__mega,
  .bfl-header2__item:focus-within .bfl-header2__mega {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .bfl-header2__item.is-open .bfl-header2__mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .bfl-simple-platform__topbar,
  .bfl-simple-hero,
  .bfl-level-hero {
    grid-template-columns: 1fr;
  }

  .bfl-simple-platform__topbar {
    align-items: flex-start;
  }

  .bfl-level-info-grid,
  .bfl-level-grid {
    grid-template-columns: 1fr;
  }
}

/* Google-only sign-up route. */
.bfl-signup-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px clamp(18px, 5vw, 70px);
  background:
    radial-gradient(circle at 18% 16%, rgba(83, 54, 232, 0.16), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(213, 82, 163, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
  color: #10172f;
}

.bfl-signup-brand {
  position: fixed;
  top: 24px;
  left: clamp(18px, 5vw, 70px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5336e8;
  font-size: 24px;
  font-weight: 950;
  text-decoration: none;
  z-index: 3;
}

.bfl-signup-brand img {
  width: 42px;
  height: 42px;
}

.bfl-signin-card {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(22px, 5vw, 58px);
  border: 1px solid rgba(83, 54, 232, 0.13);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 32px 110px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(18px);
}

.bfl-signin-card__visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #090720, #25106a 45%, #6c2de8);
}

.bfl-signin-card__visual span {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 82, 163, 0.48), rgba(83, 54, 232, 0.1) 58%, transparent 72%);
  filter: blur(3px);
  animation: bflProfileFloat 6s ease-in-out infinite;
}

.bfl-signin-card__visual img {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.bfl-signin-card__visual i {
  position: absolute;
  inset: auto 36px 36px auto;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04));
  transform: rotate(18deg);
}

.bfl-signin-card__content {
  display: grid;
  gap: 18px;
}

.bfl-signin-card__eyebrow {
  color: #d552a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bfl-signin-card h1 {
  margin: 0;
  color: #10172f;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}

.bfl-signin-card p,
.bfl-signin-card__note {
  margin: 0;
  color: #64708b;
  line-height: 1.7;
}

.bfl-signup-role {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bfl-signup-role button,
.bfl-google-signin {
  border: 1px solid rgba(83, 54, 232, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #10172f;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bfl-signup-role button {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.bfl-signup-role button.is-active {
  border-color: rgba(83, 54, 232, 0.52);
  box-shadow: 0 16px 34px rgba(83, 54, 232, 0.14);
}

.bfl-signup-role strong {
  color: #5336e8;
  font-weight: 950;
}

.bfl-signup-role small {
  color: #64708b;
  line-height: 1.45;
}

.bfl-google-signin {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.08);
}

.bfl-google-signin:hover,
.bfl-google-signin:focus-visible,
.bfl-signup-role button:hover,
.bfl-signup-role button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213, 82, 163, 0.5);
  outline: 0;
}

.bfl-google-signin__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4285f4, #34a853 45%, #fbbc05 70%, #ea4335);
  color: #fff;
  font-weight: 950;
}

.bfl-google-signin span + span {
  display: grid;
  gap: 3px;
}

.bfl-google-signin strong {
  color: #10172f;
}

.bfl-google-signin small {
  color: #64708b;
}

/* Freelancer profile card route. */
.bfl-profile-card-page {
  background:
    radial-gradient(circle at 82% 12%, rgba(83, 54, 232, 0.16), transparent 25%),
    radial-gradient(circle at 8% 22%, rgba(213, 82, 163, 0.11), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

.bfl-profile-card-page--public {
  background:
    radial-gradient(circle at 76% 18%, rgba(213, 82, 163, 0.14), transparent 26%),
    radial-gradient(circle at 10% 20%, rgba(83, 54, 232, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
}

.bfl-profile-hero-card,
.bfl-profile-content-grid {
  max-width: 1180px;
  margin-inline: auto;
}

.bfl-profile-hero-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.bfl-profile-card-shell {
  position: relative;
}

.bfl-profile-card-shell__glow {
  position: absolute;
  inset: 28px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(83, 54, 232, 0.35), rgba(213, 82, 163, 0.28));
  filter: blur(34px);
}

.bfl-profile-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 540px;
  padding: 18px 18px 26px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 110px rgba(17, 24, 39, 0.16);
  text-align: center;
}

.bfl-profile-card__cover {
  width: 100%;
  height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #0a0822, #321282 48%, #d552a3);
}

.bfl-profile-card__cover img {
  width: 220px;
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.28));
}

.bfl-profile-card__avatar-wrap {
  position: relative;
  margin-top: -68px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.bfl-profile-card__avatar-wrap img {
  width: 128px;
  height: 128px;
  border: 6px solid #fff;
  border-radius: 32px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.bfl-profile-card__avatar-wrap span {
  border-radius: 999px;
  background: #10172f;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  padding: 8px 12px;
}

.bfl-profile-card h1 {
  margin: 4px 0 0;
  color: #10172f;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
}

.bfl-profile-card p {
  margin: 0;
  color: #5336e8;
  font-weight: 850;
}

.bfl-profile-card__stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.bfl-profile-card__stats strong {
  display: grid;
  gap: 4px;
  padding: 13px 8px;
  border-radius: 18px;
  background: #f6f4ff;
  color: #10172f;
}

.bfl-profile-card__stats small {
  color: #64708b;
  font-size: 11px;
}

.bfl-profile-card__actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.bfl-profile-card__actions button,
.bfl-profile-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #5336e8, #7c3aed);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.bfl-profile-card__actions a {
  background: #f4f2ff;
  color: #5336e8;
}

.bfl-profile-hero-card__copy {
  display: grid;
  gap: 18px;
}

.bfl-profile-hero-card__copy > span,
.bfl-profile-panel__head span {
  color: #d552a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bfl-profile-hero-card__copy h2 {
  margin: 0;
  color: #10172f;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.bfl-profile-hero-card__copy p {
  margin: 0;
  color: #64708b;
  line-height: 1.75;
}

.bfl-profile-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bfl-profile-skill-list em {
  border-radius: 999px;
  background: rgba(83, 54, 232, 0.09);
  color: #5336e8;
  font-style: normal;
  font-weight: 850;
  padding: 9px 12px;
}

.bfl-profile-hero-card__copy small {
  color: #64708b;
  font-weight: 800;
}

.bfl-profile-hero-card__copy small[data-state="success"] {
  color: #0f9f6e;
}

.bfl-profile-hero-card__copy small[data-state="error"] {
  color: #dc2626;
}

.bfl-profile-content-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.bfl-profile-panel {
  border: 1px solid rgba(83, 54, 232, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
  padding: clamp(18px, 3vw, 28px);
}

.bfl-profile-panel--portfolio,
.bfl-profile-panel--reviews {
  grid-column: span 1;
}

.bfl-profile-panel__head h2 {
  margin: 6px 0 0;
  color: #10172f;
  font-size: clamp(22px, 3vw, 32px);
}

.bfl-profile-details {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.bfl-profile-details div {
  padding: 14px;
  border-radius: 16px;
  background: #f6f8ff;
}

.bfl-profile-details dt {
  color: #64708b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bfl-profile-details dd {
  margin: 5px 0 0;
  color: #10172f;
  font-weight: 850;
  line-height: 1.5;
}

.bfl-profile-link-editor {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(83, 54, 232, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(83, 54, 232, 0.07), rgba(213, 82, 163, 0.07));
}

.bfl-profile-link-editor label {
  display: grid;
  gap: 8px;
  color: #10172f;
  font-size: 13px;
  font-weight: 950;
}

.bfl-profile-link-editor input {
  width: 100%;
  border: 1px solid rgba(83, 54, 232, 0.18);
  border-radius: 14px;
  padding: 12px 13px;
  color: #10172f;
  font: inherit;
  outline: none;
}

.bfl-profile-link-editor input:focus {
  border-color: rgba(83, 54, 232, 0.55);
  box-shadow: 0 0 0 4px rgba(83, 54, 232, 0.1);
}

.bfl-profile-link-editor button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #5336e8, #d552a3);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  padding: 12px 14px;
}

.bfl-profile-link-editor small {
  color: #5336e8;
  font-weight: 850;
  word-break: break-word;
}

.bfl-profile-portfolio-grid,
.bfl-profile-review-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bfl-profile-portfolio-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #fff;
}

.bfl-profile-portfolio-card img {
  width: 160px;
  height: 132px;
  border-radius: 18px;
  object-fit: cover;
  background: #eef2ff;
}

.bfl-profile-portfolio-card h3 {
  margin: 5px 0;
  color: #10172f;
}

.bfl-profile-portfolio-card span {
  color: #5336e8;
  font-size: 12px;
  font-weight: 950;
}

.bfl-profile-portfolio-card p {
  margin: 0;
  color: #64708b;
  line-height: 1.55;
}

.bfl-profile-portfolio-card footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bfl-profile-portfolio-card em {
  border-radius: 999px;
  background: #f4f2ff;
  color: #5336e8;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  padding: 7px 10px;
}

.bfl-profile-portfolio-card footer strong {
  margin-left: auto;
  color: #10172f;
}

.bfl-profile-review-card,
.bfl-profile-empty {
  padding: 16px;
  border-radius: 18px;
  background: #f7f9ff;
  color: #64708b;
}

.bfl-profile-review-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #10172f;
  font-weight: 900;
}

.bfl-profile-review-card span {
  color: #f59e0b;
}

.bfl-profile-review-card p {
  margin: 10px 0 0;
  color: #64708b;
  line-height: 1.6;
}

/* Modern profile-card integration for /myprofile. */
.bfl-profile-showcase {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  box-sizing: border-box;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  isolation: isolate;
}

.bfl-profile-showcase__ambient {
  position: absolute;
  inset: -38px -24px;
  z-index: -1;
  overflow: hidden;
  border-radius: 42px;
  pointer-events: none;
}

.bfl-profile-showcase__ambient span {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.28;
  animation: bflProfileFloat 16s ease-in-out infinite;
}

.bfl-profile-showcase__ambient span:nth-child(1) {
  left: 4%;
  top: 12%;
  background: #5336e8;
}

.bfl-profile-showcase__ambient span:nth-child(2) {
  right: 14%;
  top: 2%;
  background: #d552a3;
  animation-duration: 19s;
  animation-direction: reverse;
}

.bfl-profile-showcase__ambient span:nth-child(3) {
  right: 2%;
  bottom: 0;
  background: #19c7d2;
  animation-duration: 22s;
}

.bfl-modern-profile-card {
  --bfl-profile-card-x: 50%;
  --bfl-profile-card-y: 50%;
  --bfl-profile-card-border: rgba(255, 255, 255, 0.13);
  --bfl-profile-card-lift: 0px;
  --bfl-profile-card-scale: 1;
  --bfl-profile-card-border-glow: 0.28;
  --bfl-profile-card-spotlight: 0;
  --bfl-profile-card-shadow-glow: 0;
  --bfl-profile-card-inset-glow: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
  min-height: 510px;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--bfl-profile-card-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 10%, rgba(83, 54, 232, 0.32), transparent 34%),
    radial-gradient(circle at 4% 86%, rgba(25, 199, 210, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(16, 12, 42, 0.98), rgba(11, 9, 23, 0.99) 58%, #05030c);
  box-shadow:
    0 34px 95px rgba(17, 24, 39, 0.26),
    0 0 42px rgba(124, 58, 237, var(--bfl-profile-card-shadow-glow)),
    0 0 0 1px rgba(255, 255, 255, var(--bfl-profile-card-inset-glow)) inset;
  color: #fff;
  isolation: isolate;
  transform: translateY(var(--bfl-profile-card-lift)) scale(var(--bfl-profile-card-scale)) translateZ(0);
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1), border-color 0.42s ease, box-shadow 0.42s ease;
  will-change: transform;
}

.bfl-modern-profile-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--bfl-profile-card-x) var(--bfl-profile-card-y), rgba(213, 82, 163, 0.38), transparent 25%),
    conic-gradient(from 150deg at 50% 50%, rgba(25, 199, 210, 0.1), rgba(124, 58, 237, 0.7), rgba(213, 82, 163, 0.56), rgba(25, 199, 210, 0.24), rgba(124, 58, 237, 0.7));
  opacity: var(--bfl-profile-card-border-glow);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
  transition: opacity 0.36s ease;
  z-index: 0;
}

.bfl-modern-profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--bfl-profile-card-x) var(--bfl-profile-card-y), rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(112deg, transparent 8%, rgba(255, 255, 255, 0.12) 18%, transparent 34%);
  background-size: auto, 220% 100%;
  background-position: center, -140% 0;
  opacity: var(--bfl-profile-card-spotlight);
  pointer-events: none;
  transition: opacity 0.36s ease, background-position 0.72s ease;
  z-index: 0;
}

.bfl-modern-profile-card:hover,
.bfl-modern-profile-card.is-hovering {
  --bfl-profile-card-border: rgba(213, 82, 163, 0.34);
  --bfl-profile-card-lift: -8px;
  --bfl-profile-card-scale: 1.01;
  --bfl-profile-card-shadow-glow: 0.2;
  --bfl-profile-card-inset-glow: 0.08;
}

.bfl-modern-profile-card:hover::before,
.bfl-modern-profile-card.is-hovering::before {
  --bfl-profile-card-border-glow: 0.72;
  animation: bflProfileBorderSpin 10s linear infinite;
}

.bfl-modern-profile-card:hover::after,
.bfl-modern-profile-card.is-hovering::after {
  --bfl-profile-card-spotlight: 1;
  background-position: center, 160% 0;
}

.bfl-modern-profile-card > * {
  position: relative;
  z-index: 1;
}

.bfl-modern-profile-card__top,
.bfl-modern-profile-card__identity,
.bfl-modern-profile-card__clock,
.bfl-modern-profile-card__status {
  display: flex;
  align-items: center;
}

.bfl-modern-profile-card__top {
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.bfl-modern-profile-card__status {
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.bfl-modern-profile-card__status i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #20d786;
  box-shadow: 0 0 0 6px rgba(32, 215, 134, 0.14), 0 0 20px rgba(32, 215, 134, 0.45);
}

.bfl-modern-profile-card__clock {
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.bfl-modern-profile-card__clock span {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.bfl-modern-profile-card__clock span::before,
.bfl-modern-profile-card__clock span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.bfl-modern-profile-card__clock span::after {
  top: 6px;
  left: 6px;
  height: 4px;
  transform: rotate(90deg);
  transform-origin: top center;
}

.bfl-modern-profile-card__identity {
  position: relative;
  z-index: 1;
  gap: 20px;
}

.bfl-modern-profile-card__avatar {
  position: relative;
  flex: 0 0 auto;
}

.bfl-modern-profile-card__avatar::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #19c7d2, #7c3aed, #d552a3);
  filter: blur(8px);
  opacity: 0.7;
  transition: opacity 0.32s ease, filter 0.32s ease, transform 0.32s ease;
}

.bfl-modern-profile-card__avatar img {
  position: relative;
  width: 106px;
  height: 106px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  transition: transform 0.36s cubic-bezier(0.2, 0.85, 0.25, 1), border-color 0.36s ease;
}

.bfl-modern-profile-card:hover .bfl-modern-profile-card__avatar::before,
.bfl-modern-profile-card.is-hovering .bfl-modern-profile-card__avatar::before {
  opacity: 0.95;
  filter: blur(11px);
  transform: rotate(12deg) scale(1.06);
}

.bfl-modern-profile-card:hover .bfl-modern-profile-card__avatar img,
.bfl-modern-profile-card.is-hovering .bfl-modern-profile-card__avatar img {
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-2px) scale(1.025);
}

.bfl-modern-profile-card h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.bfl-modern-profile-card__identity p {
  margin: 0;
  color: #cfaeff;
  font-size: 18px;
  font-weight: 850;
}

.bfl-modern-profile-card__identity small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 750;
  word-break: break-word;
}

.bfl-modern-profile-card__bio {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.bfl-modern-profile-card .bfl-profile-card__stats {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bfl-modern-profile-card .bfl-profile-card__stats strong {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.bfl-modern-profile-card:hover .bfl-profile-card__stats strong,
.bfl-modern-profile-card.is-hovering .bfl-profile-card__stats strong {
  transform: translateY(-2px);
  border-color: rgba(213, 82, 163, 0.26);
  background: rgba(255, 255, 255, 0.085);
}

.bfl-modern-profile-card .bfl-profile-card__stats small {
  color: rgba(255, 255, 255, 0.52);
}

.bfl-profile-skill-list--card {
  position: relative;
  z-index: 1;
}

.bfl-profile-skill-list--card em {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(25, 199, 210, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.bfl-modern-profile-card .bfl-profile-card__actions {
  position: relative;
  z-index: 1;
}

.bfl-modern-profile-card .bfl-profile-card__actions button,
.bfl-modern-profile-card .bfl-profile-card__actions a {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.bfl-modern-profile-card .bfl-profile-card__actions button:hover,
.bfl-modern-profile-card .bfl-profile-card__actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.bfl-modern-profile-card .bfl-profile-card__actions > :first-child {
  background: linear-gradient(135deg, #7c3aed, #19c7d2);
  border-color: transparent;
}

.bfl-modern-profile-card__state {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.54);
  font-weight: 800;
}

.bfl-modern-profile-card__state[data-state="success"] {
  color: #6ee7b7;
}

.bfl-modern-profile-card__state[data-state="warning"] {
  color: #fbbf24;
}

.bfl-modern-profile-card__state[data-state="error"] {
  color: #fca5a5;
}

.bfl-profile-showcase__copy {
  display: grid;
  gap: 18px;
}

.bfl-profile-showcase__copy > span {
  color: #d552a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bfl-profile-showcase__copy h2 {
  max-width: 720px;
  margin: 0;
  color: #10172f;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.bfl-profile-showcase__copy p {
  max-width: 620px;
  margin: 0;
  color: #64708b;
  line-height: 1.75;
}

.bfl-profile-showcase__quick {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px;
}

.bfl-profile-showcase__quick strong {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(83, 54, 232, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #5336e8;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.bfl-profile-showcase__quick span {
  color: #10172f;
}

.bfl-profile-showcase__quick small {
  color: #64708b;
  font-size: 11px;
}

.bfl-messages-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(83, 54, 232, 0.18), transparent 28%),
    radial-gradient(circle at 14% 26%, rgba(213, 82, 163, 0.13), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

.bfl-messages-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.bfl-messages-contact,
.bfl-messages-chat {
  border: 1px solid rgba(83, 54, 232, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
  padding: clamp(18px, 3vw, 28px);
}

.bfl-messages-contact {
  display: grid;
  align-content: start;
  gap: 16px;
}

.bfl-messages-contact > span {
  color: #d552a3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bfl-messages-contact h1 {
  margin: 0;
  color: #10172f;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.bfl-messages-contact p,
.bfl-messages-contact small {
  color: #64708b;
  line-height: 1.6;
}

.bfl-messages-contact small[data-state="success"] {
  color: #0f9f6e;
}

.bfl-messages-contact small[data-state="error"] {
  color: #dc2626;
}

.bfl-messages-target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(83, 54, 232, 0.09), rgba(213, 82, 163, 0.09));
}

.bfl-messages-target img {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
}

.bfl-messages-target strong {
  display: block;
  color: #10172f;
  font-weight: 950;
}

.bfl-messages-target small {
  color: #5336e8;
  font-weight: 800;
}

.bfl-messages-chat {
  min-height: 620px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}

.bfl-messages-thread {
  min-height: 420px;
  max-height: 58vh;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: #f7f9ff;
}

.bfl-message-bubble {
  width: min(78%, 560px);
  padding: 13px 15px;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.bfl-message-bubble.is-mine {
  justify-self: end;
  border-radius: 20px 20px 6px 20px;
  background: linear-gradient(135deg, #5336e8, #d552a3);
  color: #fff;
}

.bfl-message-bubble p {
  margin: 0;
  line-height: 1.55;
}

.bfl-message-bubble time {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #64708b;
}

.bfl-message-bubble.is-mine time {
  color: rgba(255, 255, 255, 0.78);
}

.bfl-messages-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.bfl-messages-form textarea {
  resize: vertical;
  min-height: 74px;
  border: 1px solid rgba(83, 54, 232, 0.16);
  border-radius: 20px;
  padding: 14px 16px;
  color: #10172f;
  font: inherit;
  outline: none;
}

.bfl-messages-form textarea:focus {
  border-color: rgba(83, 54, 232, 0.55);
  box-shadow: 0 0 0 4px rgba(83, 54, 232, 0.1);
}

.bfl-messages-form button {
  align-self: stretch;
  min-width: 120px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #5336e8, #d552a3);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(83, 54, 232, 0.24);
}

.bfl-chat-template {
  width: 100%;
  max-width: 1280px;
  min-height: min(760px, calc(100vh - 150px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr) minmax(250px, 0.32fr);
  gap: 16px;
}

.bfl-chat-sidebar,
.bfl-chat-main,
.bfl-chat-profile {
  min-width: 0;
  border: 1px solid rgba(83, 54, 232, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 4%, rgba(213, 82, 163, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.bfl-chat-sidebar {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.bfl-chat-sidebar__head,
.bfl-chat-header,
.bfl-chat-header__actions,
.bfl-chat-contact,
.bfl-chat-search,
.bfl-chat-tabs {
  display: flex;
  align-items: center;
}

.bfl-chat-sidebar__head {
  justify-content: space-between;
}

.bfl-chat-sidebar__head span,
.bfl-chat-profile > span {
  color: #d552a3;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bfl-chat-sidebar__head button,
.bfl-chat-header__actions button,
.bfl-messages-form > button[type="button"] {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid rgba(83, 54, 232, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #5336e8;
  cursor: pointer;
  font-weight: 950;
}

.bfl-chat-sidebar h1 {
  margin: 0;
  color: #10172f;
  font-size: 30px;
  line-height: 1;
}

.bfl-chat-search {
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(83, 54, 232, 0.13);
  border-radius: 18px;
  background: #f8f6ff;
  color: #5336e8;
}

.bfl-chat-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #10172f;
  font: inherit;
  font-weight: 750;
}

.bfl-chat-tabs {
  gap: 8px;
  overflow: auto;
}

.bfl-chat-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(83, 54, 232, 0.08);
  color: #5336e8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.bfl-chat-tabs button.is-active {
  background: linear-gradient(135deg, #5336e8, #d552a3);
  color: #fff;
}

.bfl-chat-contact-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-right: 2px;
}

.bfl-chat-contact {
  width: 100%;
  gap: 12px;
  border: 1px solid rgba(83, 54, 232, 0.09);
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bfl-chat-contact:hover,
.bfl-chat-contact.is-active {
  transform: translateY(-1px);
  border-color: rgba(83, 54, 232, 0.36);
  background: linear-gradient(135deg, rgba(83, 54, 232, 0.12), rgba(213, 82, 163, 0.1));
  box-shadow: 0 14px 34px rgba(83, 54, 232, 0.12);
}

.bfl-chat-contact img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
}

.bfl-chat-contact span {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

.bfl-chat-contact strong,
.bfl-chat-contact small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfl-chat-contact strong {
  color: #10172f;
  font-weight: 950;
}

.bfl-chat-contact small,
.bfl-chat-contact time {
  color: #64708b;
  font-size: 12px;
  font-weight: 750;
}

.bfl-chat-main {
  min-height: 680px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 0%, rgba(83, 54, 232, 0.14), transparent 30%),
    radial-gradient(circle at 15% 88%, rgba(25, 199, 210, 0.13), transparent 30%),
    #ffffff;
}

.bfl-chat-header {
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(83, 54, 232, 0.1);
}

.bfl-chat-header__actions {
  gap: 8px;
}

.bfl-chat-main .bfl-messages-target {
  min-width: 0;
  flex: 1;
  padding: 0;
  background: transparent;
}

.bfl-chat-main .bfl-messages-target img {
  border-radius: 999px;
}

.bfl-chat-main .bfl-messages-thread {
  max-height: none;
  min-height: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 28% 20%, rgba(83, 54, 232, 0.13), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(213, 82, 163, 0.12), transparent 26%);
}

.bfl-chat-main .bfl-messages-form {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  padding: 14px;
  border-top: 1px solid rgba(83, 54, 232, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.bfl-chat-main .bfl-messages-form textarea {
  min-height: 52px;
  max-height: 160px;
  resize: vertical;
  background: #fff;
}

.bfl-chat-main .bfl-messages-form button[type="submit"] {
  min-height: 52px;
}

.bfl-chat-main [data-messages-state] {
  display: block;
  padding: 0 16px 14px;
  color: #64708b;
  font-weight: 800;
}

.bfl-chat-main [data-messages-state][data-state="success"] {
  color: #0f9f6e;
}

.bfl-chat-main [data-messages-state][data-state="warning"] {
  color: #b45309;
}

.bfl-chat-main [data-messages-state][data-state="error"] {
  color: #dc2626;
}

.bfl-chat-profile {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
}

.bfl-chat-profile > img {
  width: 110px;
  height: 110px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 20px 48px rgba(83, 54, 232, 0.18);
}

.bfl-chat-profile h2 {
  margin: 0;
  color: #10172f;
  font-size: 26px;
  line-height: 1.05;
}

.bfl-chat-profile p {
  margin: 0;
  color: #64708b;
  line-height: 1.55;
}

.bfl-chat-profile__stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bfl-chat-profile__stats strong {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(83, 54, 232, 0.08);
  color: #10172f;
}

.bfl-chat-profile__stats small {
  color: #64708b;
  font-size: 11px;
}

.bfl-chat-profile__chips {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bfl-chat-profile__chips em {
  border-radius: 999px;
  padding: 7px 10px;
  background: linear-gradient(135deg, rgba(83, 54, 232, 0.1), rgba(213, 82, 163, 0.1));
  color: #5336e8;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.bfl-chat-empty {
  padding: 18px;
  border: 1px dashed rgba(83, 54, 232, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  color: #64708b;
  font-weight: 850;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

@keyframes bflProfileFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

@keyframes bflProfileBorderSpin {
  0% { filter: hue-rotate(0deg) saturate(1); }
  100% { filter: hue-rotate(360deg) saturate(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .bfl-modern-profile-card,
  .bfl-modern-profile-card::before,
  .bfl-modern-profile-card::after,
  .bfl-modern-profile-card__avatar::before,
  .bfl-modern-profile-card__avatar img,
  .bfl-modern-profile-card .bfl-profile-card__stats strong {
    animation: none !important;
    transition: none !important;
  }

  .bfl-modern-profile-card:hover,
  .bfl-modern-profile-card.is-hovering {
    transform: none;
  }
}

@media (max-width: 980px) {
  .bfl-signin-card,
  .bfl-profile-hero-card,
  .bfl-profile-showcase,
  .bfl-profile-content-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .bfl-profile-panel--portfolio,
  .bfl-profile-panel--reviews {
    grid-column: auto;
  }

  .bfl-messages-shell {
    grid-template-columns: 1fr;
  }

  .bfl-chat-template {
    grid-template-columns: 1fr;
  }

  .bfl-chat-main {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .bfl-simple-platform {
    padding: 22px 10px 48px;
  }

  .bfl-signup-page {
    padding-top: 96px;
  }

  .bfl-signin-card__visual {
    min-height: 260px;
  }

  .bfl-signup-role,
  .bfl-profile-card__actions,
  .bfl-profile-card__stats,
  .bfl-profile-showcase__quick,
  .bfl-profile-portfolio-card {
    grid-template-columns: 1fr;
  }

  .bfl-profile-showcase {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-top: 20px;
    overflow: hidden;
  }

  .bfl-profile-card-page {
    overflow-x: hidden;
    padding-inline: 12px;
  }

  .bfl-profile-card-page .bfl-app-header {
    width: 100%;
  }

  .bfl-modern-profile-card {
    width: 100%;
    padding: 22px;
    border-radius: 26px;
  }

  .bfl-modern-profile-card h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .bfl-modern-profile-card__top {
    align-items: flex-start;
  }

  .bfl-modern-profile-card__clock {
    flex-shrink: 0;
  }

  .bfl-modern-profile-card__identity {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .bfl-profile-portfolio-card img {
    width: 100%;
  }

  .bfl-messages-shell {
    width: min(100% - 24px, 1180px);
  }

  .bfl-chat-template {
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin-top: 16px;
  }

  .bfl-chat-sidebar,
  .bfl-chat-main,
  .bfl-chat-profile {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 24px;
  }

  .bfl-chat-header {
    align-items: flex-start;
  }

  .bfl-chat-header__actions {
    display: none;
  }

  .bfl-chat-main .bfl-messages-form {
    grid-template-columns: 1fr;
  }

  .bfl-chat-main .bfl-messages-thread {
    min-height: 320px;
    padding: 12px;
  }

  .bfl-chat-main .bfl-chat-empty {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.55;
  }

  .bfl-chat-main .bfl-messages-form > button[type="button"] {
    display: none;
  }

  .bfl-messages-form {
    grid-template-columns: 1fr;
  }

  .bfl-message-bubble {
    width: 100%;
  }
}

/* BeFreeLancer dark auth route. */
.bfl-auth-scene {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px 18px 42px;
  background: #040007;
  color: #f7f1ff;
  isolation: isolate;
}

.bfl-auth-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 50% -4%, rgba(185, 91, 255, 0.52), transparent 52%),
    radial-gradient(circle at 34% 42%, rgba(150, 69, 222, 0.44), transparent 28%),
    radial-gradient(circle at 68% 38%, rgba(122, 58, 207, 0.42), transparent 26%),
    linear-gradient(180deg, #41105f 0%, #240735 52%, #030006 100%);
}

.bfl-auth-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: soft-light;
}

.bfl-auth-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bfl-auth-bg span,
.bfl-auth-bg i {
  position: absolute;
  border-radius: 999px;
  filter: blur(84px);
  opacity: 0.42;
  animation: bflAuthGlow 8s ease-in-out infinite alternate;
}

.bfl-auth-bg span:nth-child(1) {
  width: 58vw;
  height: 34vw;
  left: 50%;
  top: -12%;
  transform: translateX(-50%);
  background: rgba(224, 169, 255, 0.32);
}

.bfl-auth-bg span:nth-child(2) {
  width: 34vw;
  height: 34vw;
  left: 18%;
  top: 28%;
  background: rgba(255, 255, 255, 0.1);
  animation-delay: 1.2s;
}

.bfl-auth-bg span:nth-child(3) {
  width: 36vw;
  height: 36vw;
  right: 16%;
  top: 28%;
  background: rgba(255, 255, 255, 0.08);
  animation-delay: 2s;
}

.bfl-auth-bg i {
  width: 54vw;
  height: 34vw;
  left: 50%;
  bottom: -18%;
  transform: translateX(-50%);
  background: rgba(164, 84, 255, 0.18);
  animation-delay: 0.7s;
}

.bfl-auth-scene .bfl-signup-brand {
  position: fixed;
  top: 22px;
  left: clamp(18px, 4vw, 56px);
  color: #fff;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.bfl-auth-scene .bfl-signup-brand img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1) drop-shadow(0 10px 24px rgba(255, 255, 255, 0.18));
}

.bfl-auth-scene .bfl-signin-card {
  width: min(390px, 100%);
  display: block;
  position: relative;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(65, 29, 90, 0.84), rgba(18, 3, 28, 0.9));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  overflow: hidden;
  animation: bflAuthCardEnter 620ms ease both;
}

.bfl-auth-scene .bfl-signin-card:hover {
  transform: perspective(1400px) rotateX(1.4deg) rotateY(-1deg) translateY(-2px);
}

.bfl-auth-scene[data-auth-mode="choice"] .bfl-signin-card {
  width: min(860px, 100%);
  padding: 34px;
}

.bfl-auth-scene[data-auth-mode="choice"] .bfl-auth-mark {
  display: none;
}

.bfl-auth-beam {
  position: absolute;
  pointer-events: none;
  opacity: 0.62;
  filter: blur(1.4px);
}

.bfl-auth-beam--top,
.bfl-auth-beam--bottom {
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.bfl-auth-beam--right,
.bfl-auth-beam--left {
  width: 2px;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.bfl-auth-beam--top {
  top: 0;
  left: -50%;
  animation: bflAuthBeamTop 4s ease-in-out infinite;
}

.bfl-auth-beam--right {
  top: -50%;
  right: 0;
  animation: bflAuthBeamRight 4s ease-in-out 0.8s infinite;
}

.bfl-auth-beam--bottom {
  bottom: 0;
  right: -50%;
  animation: bflAuthBeamBottom 4s ease-in-out 1.6s infinite;
}

.bfl-auth-beam--left {
  bottom: -50%;
  left: 0;
  animation: bflAuthBeamLeft 4s ease-in-out 2.4s infinite;
}

.bfl-auth-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bfl-auth-mark img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

.bfl-auth-panel {
  display: grid;
  gap: 13px;
  margin: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.bfl-auth-scene[data-auth-mode="choice"] [data-auth-panel]:not([data-auth-panel="choice"]),
.bfl-auth-scene[data-auth-mode="signin"] [data-auth-panel]:not([data-auth-panel="signin"]),
.bfl-auth-scene[data-auth-mode="signup"] [data-auth-panel]:not([data-auth-panel="signup"]) {
  display: none;
}

.bfl-choice-panel {
  gap: 24px;
  padding-top: 2px;
}

.bfl-choicebox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.bfl-choicebox-item {
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bfl-choicebox-item:hover,
.bfl-choicebox-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213, 82, 163, 0.58);
  outline: 0;
  box-shadow:
    0 18px 48px rgba(55, 13, 92, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bfl-choicebox-item.is-selected {
  border-color: rgba(205, 127, 255, 0.9);
  background: linear-gradient(135deg, rgba(116, 53, 214, 0.48), rgba(213, 82, 163, 0.2));
  box-shadow:
    0 0 0 3px rgba(173, 92, 255, 0.18),
    0 24px 64px rgba(73, 22, 148, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bfl-choicebox-item span {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.bfl-choicebox-item strong {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.bfl-choicebox-item small {
  color: rgba(244, 232, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.bfl-choicebox-item i {
  width: 22px;
  height: 22px;
  position: relative;
  flex: 0 0 22px;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(232, 208, 255, 0.46);
  background: rgba(8, 1, 15, 0.44);
  box-shadow: inset 0 0 0 4px rgba(4, 0, 7, 0.38);
}

.bfl-choicebox-item i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  transform: scale(0);
  background: linear-gradient(135deg, #d552ff, #7c4dff 52%, #ff74ce);
  box-shadow: 0 0 18px rgba(198, 99, 255, 0.9);
  transition: transform 180ms ease;
}

.bfl-choicebox-item.is-selected i {
  border-color: rgba(255, 226, 255, 0.88);
}

.bfl-choicebox-item.is-selected i::after {
  transform: scale(1);
}

.bfl-auth-panel h1 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}

.bfl-choice-panel h1 {
  font-size: clamp(18px, 1.58vw, 22px);
  font-weight: 620;
  line-height: 1.2;
  white-space: nowrap;
}

.bfl-auth-panel p {
  margin: -4px 0 8px;
  color: rgba(244, 232, 255, 0.68);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.bfl-auth-field {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.42);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bfl-auth-field:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(171, 92, 255, 0.13);
}

.bfl-auth-field span {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  font-size: 13px;
}

.bfl-auth-field > .bfl-auth-icon,
.bfl-password-visibility .bfl-auth-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: linear-gradient(135deg, #f7e9ff 0%, #c084fc 42%, #d552a3 100%);
  filter: drop-shadow(0 0 10px rgba(195, 121, 255, 0.22));
  -webkit-mask: var(--bfl-icon-mask) center / contain no-repeat;
  mask: var(--bfl-icon-mask) center / contain no-repeat;
}

.bfl-auth-icon--profile {
  --bfl-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 12.2c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5Zm0 2.1c-4.15 0-7.6 2.16-8.48 5.1-.28.94.45 1.8 1.43 1.8h14.1c.98 0 1.71-.86 1.43-1.8-.88-2.94-4.33-5.1-8.48-5.1Z'/%3E%3C/svg%3E");
}

.bfl-auth-icon--mail {
  --bfl-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4.5 5h15A2.5 2.5 0 0 1 22 7.5v9A2.5 2.5 0 0 1 19.5 19h-15A2.5 2.5 0 0 1 2 16.5v-9A2.5 2.5 0 0 1 4.5 5Zm.35 2 6.15 5.04c.58.48 1.42.48 2 0L19.15 7H4.85Zm15.15 2.18-5.73 4.7a3.55 3.55 0 0 1-4.54 0L4 9.18v7.32c0 .28.22.5.5.5h15a.5.5 0 0 0 .5-.5V9.18Z'/%3E%3C/svg%3E");
}

.bfl-auth-icon--lock {
  --bfl-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 10V8a5 5 0 0 1 10 0v2h.75A2.25 2.25 0 0 1 20 12.25v7.5A2.25 2.25 0 0 1 17.75 22H6.25A2.25 2.25 0 0 1 4 19.75v-7.5A2.25 2.25 0 0 1 6.25 10H7Zm2 0h6V8a3 3 0 0 0-6 0v2Zm3 4a1.4 1.4 0 0 0-.7 2.61v1.14a.7.7 0 1 0 1.4 0v-1.14A1.4 1.4 0 0 0 12 14Z'/%3E%3C/svg%3E");
}

.bfl-auth-icon--eye {
  --bfl-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 5c5.2 0 8.53 4.18 9.55 5.65.55.8.55 1.9 0 2.7C20.53 14.82 17.2 19 12 19s-8.53-4.18-9.55-5.65a2.34 2.34 0 0 1 0-2.7C3.47 9.18 6.8 5 12 5Zm0 3.2a3.8 3.8 0 1 0 0 7.6 3.8 3.8 0 0 0 0-7.6Zm0 2a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6Z'/%3E%3C/svg%3E");
}

.bfl-auth-icon--eye-off {
  --bfl-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m4.3 2.9 16.8 16.8-1.4 1.4-3.05-3.05A10.6 10.6 0 0 1 12 19c-5.2 0-8.53-4.18-9.55-5.65a2.34 2.34 0 0 1 0-2.7 16 16 0 0 1 3.2-3.55L2.9 4.3l1.4-1.4Zm4.12 5.52A3.8 3.8 0 0 0 13.58 13.58L12.1 12.1a1.8 1.8 0 0 1-2.2-2.2L8.42 8.42ZM12 5c5.2 0 8.53 4.18 9.55 5.65.55.8.55 1.9 0 2.7a15.2 15.2 0 0 1-2.1 2.46l-3.07-3.07A3.8 3.8 0 0 0 11.26 7.62L8.95 5.3A10.5 10.5 0 0 1 12 5Z'/%3E%3C/svg%3E");
}

.bfl-auth-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.bfl-auth-field input::placeholder {
  color: rgba(240, 228, 255, 0.42);
}

.bfl-auth-field button,
.bfl-auth-options button,
.bfl-auth-panel footer button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.bfl-auth-field button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(240, 228, 255, 0.58);
}

.bfl-password-group {
  display: grid;
  gap: 10px;
}

.bfl-password-strength {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.bfl-password-strength__bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.bfl-password-strength__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b8f, #f7a538);
  transition: width 260ms ease, background 260ms ease;
}

.bfl-password-strength[data-score="3"] .bfl-password-strength__bar i {
  background: linear-gradient(90deg, #f7a538, #d552a3);
}

.bfl-password-strength[data-score="4"] .bfl-password-strength__bar i,
.bfl-password-strength[data-score="5"] .bfl-password-strength__bar i {
  background: linear-gradient(90deg, #7c3aed, #d552a3, #37d4b7);
}

.bfl-password-strength__head,
.bfl-password-strength li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bfl-password-strength__head span,
.bfl-password-strength__head strong {
  color: rgba(244, 232, 255, 0.78);
  font-size: 11px;
  font-weight: 850;
}

.bfl-password-strength__head strong {
  color: #fff;
}

.bfl-password-strength ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfl-password-strength li {
  justify-content: flex-start;
  color: rgba(244, 232, 255, 0.58);
  font-size: 11px;
  line-height: 1.25;
}

.bfl-password-strength li span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 232, 255, 0.28);
  background: rgba(8, 1, 15, 0.36);
}

.bfl-password-strength li.is-met {
  color: rgba(180, 255, 219, 0.92);
}

.bfl-password-strength li.is-met span {
  border-color: rgba(55, 212, 183, 0.72);
  background:
    linear-gradient(135deg, #37d4b7, #7c3aed);
  box-shadow: 0 0 12px rgba(55, 212, 183, 0.32);
}

.bfl-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 18px;
  color: rgba(244, 232, 255, 0.72);
  font-size: 12px;
}

.bfl-auth-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bfl-auth-options input {
  width: 16px;
  height: 16px;
  accent-color: #f6f0ff;
}

.bfl-auth-options button,
.bfl-auth-panel footer button {
  color: #fff;
  font-weight: 800;
}

.bfl-auth-submit {
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #08030d;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.bfl-auth-submit:hover,
.bfl-auth-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.14);
  outline: 0;
}

.bfl-auth-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.bfl-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 13px;
  color: rgba(244, 232, 255, 0.48);
  font-size: 12px;
}

.bfl-auth-divider::before,
.bfl-auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.bfl-auth-scene .bfl-google-signin {
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  color: #f9f2ff;
  box-shadow: none;
  text-align: center;
}

.bfl-auth-scene .bfl-google-signin:hover,
.bfl-auth-scene .bfl-google-signin:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.bfl-auth-scene .bfl-google-signin__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.bfl-auth-scene .bfl-google-signin strong {
  color: #fff;
  font-size: 13px;
}

.bfl-auth-scene .bfl-signup-role {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bfl-auth-scene .bfl-signup-role button {
  min-height: 78px;
  padding: 11px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.bfl-auth-scene .bfl-signup-role button.is-active {
  border-color: rgba(214, 160, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(173, 92, 255, 0.16);
}

.bfl-auth-scene .bfl-signup-role strong {
  color: #fff;
  font-size: 12px;
}

.bfl-auth-scene .bfl-signup-role small {
  color: rgba(244, 232, 255, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.bfl-auth-status,
.bfl-auth-scene .bfl-signin-card__note,
.bfl-auth-panel footer {
  color: rgba(244, 232, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.bfl-auth-status:empty {
  display: none;
}

.bfl-auth-status[data-state="error"] {
  color: #ffc0d5;
}

.bfl-auth-status[data-state="success"] {
  color: #a7ffd1;
}

.bfl-auth-panel footer {
  margin-top: 14px;
}

.bfl-onboarding-page {
  padding-top: 100px;
  width: 100%;
  justify-items: center;
}

.bfl-onboarding-card {
  position: relative;
  width: min(980px, 100%);
  box-sizing: border-box;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(213, 82, 163, 0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(124, 58, 237, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(65, 29, 90, 0.86), rgba(18, 3, 28, 0.92));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  animation: bflAuthCardEnter 620ms ease both;
}

.bfl-onboarding-card *,
.bfl-onboarding-card *::before,
.bfl-onboarding-card *::after {
  box-sizing: border-box;
  min-width: 0;
}

.bfl-onboarding-card__head {
  display: grid;
  gap: 8px;
  text-align: center;
}

.bfl-onboarding-card__head span,
.bfl-onboarding-step__intro span {
  color: rgba(244, 232, 255, 0.68);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bfl-onboarding-card__head h1,
.bfl-onboarding-step__intro h2 {
  margin: 0;
  color: #fff;
  font-family: var(--edu-code-next);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
  letter-spacing: 0;
}

.bfl-onboarding-card__head p,
.bfl-onboarding-step__intro p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(244, 232, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.bfl-onboarding-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bfl-onboarding-progress button {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 232, 255, 0.64);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bfl-onboarding-progress button:hover,
.bfl-onboarding-progress button:focus-visible {
  outline: 0;
  transform: translateY(-1px);
  border-color: rgba(213, 82, 163, 0.5);
}

.bfl-onboarding-progress button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 999px;
  background: rgba(8, 1, 15, 0.42);
  color: rgba(244, 232, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.bfl-onboarding-progress button strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfl-onboarding-progress button.is-active,
.bfl-onboarding-progress button.is-done {
  border-color: rgba(205, 127, 255, 0.78);
  background: linear-gradient(135deg, rgba(116, 53, 214, 0.45), rgba(213, 82, 163, 0.16));
  color: #fff;
  box-shadow: 0 0 0 3px rgba(173, 92, 255, 0.12);
}

.bfl-onboarding-progress button.is-active span,
.bfl-onboarding-progress button.is-done span {
  background: linear-gradient(135deg, #7c3aed, #d552a3);
  color: #fff;
  box-shadow: 0 0 18px rgba(213, 82, 163, 0.34);
}

.bfl-onboarding-form {
  display: grid;
  gap: 18px;
}

.bfl-onboarding-step {
  display: grid;
  gap: 18px;
}

.bfl-onboarding-step__intro {
  display: grid;
  gap: 8px;
  text-align: center;
}

.bfl-onboarding-step__intro h2 {
  font-size: clamp(22px, 2.4vw, 32px);
}

.bfl-onboarding-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bfl-onboarding-field {
  display: grid;
  gap: 8px;
}

.bfl-onboarding-field:has(textarea) {
  grid-column: 1 / -1;
}

.bfl-onboarding-field span {
  color: rgba(244, 232, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.bfl-onboarding-field input,
.bfl-onboarding-field select,
.bfl-onboarding-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bfl-onboarding-field select option {
  color: #140421;
}

.bfl-onboarding-field textarea {
  min-height: 108px;
  padding-top: 12px;
  resize: vertical;
}

.bfl-onboarding-field input::placeholder,
.bfl-onboarding-field textarea::placeholder {
  color: rgba(240, 228, 255, 0.42);
}

.bfl-onboarding-field input:focus,
.bfl-onboarding-field select:focus,
.bfl-onboarding-field textarea:focus {
  border-color: rgba(213, 82, 163, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(171, 92, 255, 0.14);
}

.bfl-onboarding-status {
  min-height: 18px;
  color: rgba(244, 232, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.bfl-onboarding-status:empty {
  display: none;
}

.bfl-onboarding-status[data-state="error"] {
  color: #ffc0d5;
}

.bfl-onboarding-status[data-state="success"] {
  color: #a7ffd1;
}

.bfl-onboarding-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bfl-onboarding-secondary,
.bfl-onboarding-next {
  min-width: 138px;
}

.bfl-onboarding-secondary {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #f9f2ff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.bfl-onboarding-secondary:hover,
.bfl-onboarding-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}

.bfl-onboarding-secondary:disabled {
  opacity: 0.44;
  cursor: not-allowed;
  transform: none;
}

@keyframes bflAuthGlow {
  from { opacity: 0.26; transform: translate3d(0, 0, 0) scale(0.97); }
  to { opacity: 0.54; transform: translate3d(0, -8px, 0) scale(1.04); }
}

@keyframes bflAuthCardEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bflAuthBeamTop {
  0%, 35% { left: -52%; opacity: 0.25; }
  65%, 100% { left: 104%; opacity: 0.65; }
}

@keyframes bflAuthBeamRight {
  0%, 35% { top: -52%; opacity: 0.25; }
  65%, 100% { top: 104%; opacity: 0.65; }
}

@keyframes bflAuthBeamBottom {
  0%, 35% { right: -52%; opacity: 0.25; }
  65%, 100% { right: 104%; opacity: 0.65; }
}

@keyframes bflAuthBeamLeft {
  0%, 35% { bottom: -52%; opacity: 0.25; }
  65%, 100% { bottom: 104%; opacity: 0.65; }
}

@media (max-width: 560px) {
  .bfl-auth-scene {
    padding: 86px 14px 28px;
    place-items: start center;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .bfl-auth-scene .bfl-signup-brand {
    top: 18px;
    left: 16px;
    font-size: 20px;
  }

  .bfl-auth-scene .bfl-signin-card {
    padding: 22px 18px;
  }

  .bfl-choicebox-group {
    grid-template-columns: 1fr;
  }

  .bfl-choice-panel h1 {
    white-space: normal;
    font-size: 18px;
  }

  .bfl-choicebox-item {
    min-height: 112px;
  }

  .bfl-password-strength ul {
    grid-template-columns: 1fr;
  }

  .bfl-auth-scene .bfl-signup-role {
    grid-template-columns: 1fr;
  }

  .bfl-onboarding-page {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding-top: 86px;
  }

  .bfl-onboarding-card {
    width: min(350px, calc(100vw - 32px));
    max-width: min(350px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 20px 16px;
    border-radius: 20px;
    gap: 16px;
    background:
      radial-gradient(circle at 16% 0%, rgba(213, 82, 163, 0.24), transparent 36%),
      radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.28), transparent 36%),
      linear-gradient(180deg, rgba(65, 29, 90, 0.9), rgba(18, 3, 28, 0.94));
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .bfl-onboarding-card__head {
    text-align: center;
    width: 100%;
  }

  .bfl-onboarding-card__head h1 {
    max-width: 100%;
    font-size: clamp(22px, 6.2vw, 26px);
    overflow-wrap: break-word;
  }

  .bfl-onboarding-card__head p,
  .bfl-onboarding-step__intro p {
    max-width: 100%;
    font-size: 13px;
    overflow-wrap: break-word;
  }

  .bfl-onboarding-progress,
  .bfl-onboarding-fields {
    grid-template-columns: 1fr;
  }

  .bfl-onboarding-progress button {
    min-height: 48px;
    width: 100%;
    justify-content: flex-start;
  }

  .bfl-onboarding-progress button strong {
    white-space: normal;
  }

  .bfl-onboarding-step {
    gap: 16px;
  }

  .bfl-onboarding-step__intro {
    text-align: center;
  }

  .bfl-onboarding-step__intro h2 {
    font-size: 24px;
    overflow-wrap: break-word;
  }

  .bfl-onboarding-fields {
    gap: 12px;
  }

  .bfl-onboarding-field,
  .bfl-onboarding-field:has(textarea) {
    grid-column: auto;
  }

  .bfl-onboarding-field span {
    display: block;
    line-height: 1.35;
  }

  .bfl-onboarding-field input,
  .bfl-onboarding-field select,
  .bfl-onboarding-field textarea {
    display: block;
    min-width: 0;
    font-size: 14px;
  }

  .bfl-onboarding-actions {
    flex-direction: column-reverse;
  }

  .bfl-onboarding-secondary,
  .bfl-onboarding-next {
    width: 100%;
  }
}
