*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html,
body {
  background: #050816;
  overflow-x: hidden;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Стандарт */
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #17d5ff 0%, #9f55ff 100%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.15);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}
img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER
========================= */
.landing_header {
  position: relative;
  z-index: 20;
  background-color: #0A0A0F;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header_logo_container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header_logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header_logo_title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header_menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header_menu_item {
  color: #FFFFFF;
  opacity: 0.6;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 14px;
  text-decoration: none;
}
.language_switcher {
  color: #FFFFFF;
  opacity: 0.6;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 14px;
  text-decoration: none;
  border: none;
  background: none; 
}
.header_login_button {
  color: #FFFFFF;
  opacity: 0.6;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 14px;
  text-decoration: none;
  border: none;
  background: none;
}
.header_register_button {
  background-color: #00D4FF;
  border-radius: 12px;
  border: none;
  color: #0A0A0F;
  font-weight: 600;
  width: 160px;
  height: 46px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.18);
}

/* =========================
   HERO
========================= */
.hero_container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 180px;
  background:
    radial-gradient(circle at 20% 85%, rgba(168, 85, 247, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 50% 15%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 82% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #050816 0%, #030712 100%);
  background-repeat: no-repeat;
}

.hero_container::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 25% 80%, rgba(168, 85, 247, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  filter: blur(180px);
  opacity: 0.4;
}

/* =========================
   FLOATING CARDS
========================= */
.floating_cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.float_card {
  position: absolute;
  width: 210px;
  min-height: 120px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 30px rgba(0, 212, 255, 0.08),
    0 0 60px rgba(168, 85, 247, 0.06);
  transform-origin: center;
  will-change: transform;
}

.float_card::before {
  content: "";
  position: absolute;
  inset: auto 12% -18px 12%;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.10);
  filter: blur(22px);
  z-index: -1;
}

.card_label {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.float_card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #12d7ff;
  margin-bottom: 8px;
}

.float_card p {
  font-size: 15px;
  font-weight: 500;
  color: #17ff9c;
}

.float_card .negative {
  color: #ff4d7a;
}

.float_card .violet {
  color: #b84dff;
}

.card_1 {
  top: 12%;
  left: 58%;
  transform: rotate(6deg);
  animation: floatOne 9s ease-in-out infinite;
}

.card_2 {
  top: 44%;
  left: 36%;
  transform: rotate(2deg);
  animation: floatTwo 11s ease-in-out infinite;
}

.card_3 {
  top: 50%;
  left: 26%;
  transform: rotate(-4deg);
  animation: floatThree 10s ease-in-out infinite;
}

@keyframes floatOne {
  0%   { transform: translate3d(0, 0, 0) rotate(6deg); }
  25%  { transform: translate3d(12px, -18px, 0) rotate(8deg); }
  50%  { transform: translate3d(-8px, -34px, 0) rotate(4deg); }
  75%  { transform: translate3d(10px, -12px, 0) rotate(7deg); }
  100% { transform: translate3d(0, 0, 0) rotate(6deg); }
}

@keyframes floatTwo {
  0%   { transform: translate3d(0, 0, 0) rotate(2deg); }
  25%  { transform: translate3d(-10px, 16px, 0) rotate(0deg); }
  50%  { transform: translate3d(8px, -20px, 0) rotate(3deg); }
  75%  { transform: translate3d(-6px, 10px, 0) rotate(1deg); }
  100% { transform: translate3d(0, 0, 0) rotate(2deg); }
}

@keyframes floatThree {
  0%   { transform: translate3d(0, 0, 0) rotate(-4deg); }
  25%  { transform: translate3d(14px, -10px, 0) rotate(-2deg); }
  50%  { transform: translate3d(-12px, 18px, 0) rotate(-5deg); }
  75%  { transform: translate3d(6px, -14px, 0) rotate(-3deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
}

/* =========================
   HERO CONTENT
========================= */
.hero_content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content_item_trusted {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 30px rgba(0, 0, 0, 0.18);
  width: fit-content;
  margin-bottom: 35px;
}

.trust_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12f08a;
  flex-shrink: 0;
  box-shadow:
    0 0 10px rgba(18, 240, 138, 0.45),
    0 0 22px rgba(18, 240, 138, 0.22);
}

.trust_text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero_title_line {
  display: block;
}

.hero_title_white {
  font-size: 90px;
  font-weight: 800;
  color: #f5f7fb;
}

.hero_title_gradient {
  font-size: 90px;
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #2fd4ff 0%,
    #7da8ff 22%,
    #b84dff 52%,
    #b8b3ff 76%,
    #44f59d 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero_subtitle {
  max-width: 1120px;
  margin: 42px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero_cta {
  margin-top: 48px;
  width: 290px;
  height: 62px;
  border: none;
  border-radius: 24px;
  background: #12d7ff;
  color: #071019;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(18, 215, 255, 0.2);
}

/* =========================
   FEATURES
========================= */
.features_section {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.features_grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature_card {
  min-height: 170px;
  border-radius: 28px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.18);
}

.feature_icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature_icon svg {
  width: 24px;
  height: 24px;
}

.feature_icon_blue {
  background: rgba(40, 110, 180, 0.18);
  color: #18d2ff;
}

.feature_icon_purple {
  background: rgba(138, 43, 226, 0.18);
  color: #c33cff;
}

.feature_icon_green {
  background: rgba(28, 120, 86, 0.18);
  color: #22f59a;
}

.feature_title {
  margin: 0;
  color: #f5f7fb;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.03em;
}

/* =========================
   ABOUT
========================= */
.about_section {
  position: relative;
  z-index: 2;
  padding: 140px 20px 140px;
  background: transparent;
}

.about_container {
  max-width: 1440px;
  margin: 0 auto;
}

.about_title {
  text-align: center;
  color: #f7f8fb;
  font-size: 76px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about_spanblue {
  color: #12d7ff;
}

.about_description {
  max-width: 1060px;
  margin: 34px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.54);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.about_stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.about_card {
  min-height: 320px;
  border-radius: 30px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.18);
}

.about_icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.about_icon svg {
  width: 38px;
  height: 38px;
}

.about_icon_blue {
  background: rgba(16, 139, 214, 0.16);
  color: #16d2ff;
}

.about_icon_purple {
  background: rgba(150, 58, 255, 0.16);
  color: #b63cff;
}

.about_icon_green {
  background: rgba(24, 139, 95, 0.16);
  color: #1dff9b;
}

.about_value {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.about_value_blue {
  color: #16d2ff;
}

.about_value_purple {
  color: #b63cff;
}

.about_value_green {
  color: #1dff9b;
}

.about_label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

/* =========================
   LICENSES
========================= */
.licenses_section {
  padding: 0 20px 140px;
}

.licenses_container {
  max-width: 1440px;
  margin: 0 auto;
}

.licenses_title {
  text-align: center;
  color: #f7f8fb;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.licenses_description {
  max-width: 980px;
  margin: 26px auto 0;
  text-align: center;
  color: rgba(255,255,255,0.56);
  font-size: 22px;
  line-height: 1.5;
}

.licenses_grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.license_card {
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.18);
}

.license_card_title {
  color: #12d7ff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.license_card_text {
  color: rgba(255,255,255,0.58);
  font-size: 17px;
  line-height: 1.5;
}

/* =========================
   CTA
========================= */
.cta_section {
  position: relative;
  overflow: hidden;
  padding: 140px 20px 120px;
  background:
    radial-gradient(circle at 20% 85%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 15%, rgba(59, 130, 246, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #050816 0%, #040713 100%);
}

.cta_container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta_badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 30px rgba(0,0,0,0.18);
}

.cta_badge_icon {
  color: #12d7ff;
  font-size: 17px;
  line-height: 1;
}

.cta_badge_text {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.cta_title {
  color: #f7f8fb;
  font-size: 82px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta_description {
  max-width: 900px;
  margin: 28px auto 0;
  color: rgba(255,255,255,0.56);
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.cta_button {
  margin-top: 48px;
  min-width: 320px;
  height: 88px;
  padding: 0 42px;
  border: none;
  border-radius: 24px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    #20d4ff 0%,
    #8c7dff 30%,
    #c33cff 62%,
    #26f08f 100%
  );
  box-shadow:
    0 18px 40px rgba(0, 212, 255, 0.14),
    0 10px 28px rgba(195, 60, 255, 0.10);
}

.cta_note {
  margin-top: 28px;
  color: rgba(255,255,255,0.45);
  font-size: 17px;
  font-weight: 400;
}

/* =========================
   FOOTER
========================= */
.footer_section {
  background: #050814;
  padding: 70px 20px 34px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer_container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer_top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer_logo_row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer_logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12d7ff;
  font-size: 28px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
}

.footer_brand_name {
  color: #f7f8fb;
  font-size: 22px;
  font-weight: 700;
}

.footer_brand_text {
  max-width: 290px;
  color: rgba(255,255,255,0.52);
  font-size: 18px;
  line-height: 1.5;
}

.footer_title {
  margin: 6px 0 22px;
  color: #f7f8fb;
  font-size: 18px;
  font-weight: 600;
}

.footer_links_block {
  display: flex;
  flex-direction: column;
}

.footer_link {
  width: fit-content;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  font-size: 17px;
  line-height: 1.9;
}

.footer_socials {
  display: flex;
  gap: 14px;
}

.footer_social {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer_social svg {
  width: 24px;
  height: 24px;
}

.footer_bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer_copy {
  color: rgba(255,255,255,0.46);
  font-size: 17px;
}

.footer_bottom_links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer_bottom_link {
  color: rgba(255,255,255,0.46);
  text-decoration: none;
  font-size: 17px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  .landing_header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .header_menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero_title_white,
  .hero_title_gradient {
    font-size: 64px;
  }

  .hero_subtitle {
    max-width: 760px;
    font-size: 17px;
  }

  .card_1 {
    top: 10%;
    left: 67%;
  }

  .card_2 {
    top: 42%;
    left: 20%;
  }

  .card_3 {
    top: 52%;
    left: 12%;
  }

  .about_title,
  .licenses_title {
    font-size: 54px;
  }

  .about_description,
  .licenses_description {
    font-size: 20px;
  }

  .about_stats,
  .licenses_grid {
    grid-template-columns: 1fr;
  }

  .cta_title {
    font-size: 58px;
  }

  .cta_description {
    font-size: 22px;
  }

  .footer_top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .language_button {
    visibility: hidden;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .landing_header {
    flex-direction: column;
    align-items: center;
    padding: 14px 16px 18px;
    gap: 12px;
  }

  .header_logo_container {
    justify-content: center;
  }

  .header_menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .header_menu_item {
    font-size: 15px;
    padding: 8px 10px;
  }

  .header_register_button {
    display: none !important;
  }

  .hero_container {
    min-height: auto;
    padding-bottom: 90px;
  }

  .floating_cards {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  .float_card {
    position: absolute;
    width: 150px;
    min-height: 88px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
      0 0 20px rgba(0, 212, 255, 0.05),
      0 0 35px rgba(168, 85, 247, 0.04);
  }

  .float_card::before {
    display: none;
  }

  .card_label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .float_card h3 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .float_card p {
    font-size: 13px;
  }

  .card_1 {
    top: 5%;
    right: -16px;
    left: auto;
    transform: rotate(8deg);
    animation: floatOneMobile 7s ease-in-out infinite;
  }

  .card_2 {
    top: 16%;
    left: -16px;
    transform: rotate(-6deg);
    animation: floatTwoMobile 8s ease-in-out infinite;
  }

  .card_3 {
    top: 27%;
    right: -10px;
    left: auto;
    transform: rotate(5deg);
    animation: floatThreeMobile 9s ease-in-out infinite;
  }

  .hero_content {
    padding: 290px 16px 40px;
  }

  .content_item_trusted {
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 24px;
  }

  .trust_text {
    font-size: 13px;
    line-height: 1.2;
  }

  .hero_title {
    line-height: 0.95;
  }

  .hero_title_white,
  .hero_title_gradient {
    font-size: 42px;
  }

  .hero_subtitle {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero_cta {
    margin-top: 32px;
    width: 100%;
    max-width: 320px;
    height: 54px;
    font-size: 17px;
    border-radius: 18px;
  }

  .features_section {
    margin-top: 28px;
    padding: 0 16px;
  }

  .features_grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .feature_card {
    min-height: 118px;
    border-radius: 20px;
    padding: 14px 10px;
    gap: 12px;
  }

  .feature_icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .feature_icon svg {
    width: 20px;
    height: 20px;
  }

  .feature_title {
    font-size: 13px;
    line-height: 1.3;
  }

  .about_section {
    padding: 90px 16px 90px;
  }

  .about_title,
  .licenses_title {
    font-size: 36px;
    line-height: 1.1;
  }

  .about_description,
  .licenses_description {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
    max-width: 100%;
  }

  .about_stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about_card {
  min-height: 180px;
  padding: 18px 12px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about_icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.about_icon svg {
  width: 24px;
  height: 24px;
}

.about_value {
  font-size: 32px;
  margin-bottom: 8px;
}

.about_label {
  font-size: 15px;
  line-height: 1.3;
}

  .licenses_section {
    padding: 0 16px 90px;
  }

  .license_card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .license_card_title {
    font-size: 20px;
  }

  .license_card_text {
    font-size: 15px;
  }

  .cta_section {
    padding: 90px 16px 90px;
  }

  .cta_badge {
    padding: 10px 14px;
    gap: 8px;
    margin-bottom: 24px;
  }

  .cta_badge_text {
    font-size: 13px;
  }

  .cta_title {
    font-size: 38px;
    line-height: 1.1;
  }

  .cta_description {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.6;
    max-width: 100%;
  }

  .cta_button {
    margin-top: 30px;
    min-width: 100%;
    width: 100%;
    height: 58px;
    font-size: 17px;
    border-radius: 18px;
    padding: 0 20px;
  }

  .cta_note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  .footer_section {
    padding: 50px 16px 28px;
  }

  .footer_top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer_logo_row {
    margin-bottom: 14px;
  }

  .footer_brand_text {
    max-width: 100%;
    font-size: 15px;
  }

  .footer_title {
    margin: 0 0 12px;
    font-size: 17px;
  }

  .footer_link {
    font-size: 15px;
    line-height: 1.8;
  }

  .footer_socials {
    gap: 10px;
  }

  .footer_social {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .footer_bottom {
    margin-top: 36px;
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer_copy,
  .footer_bottom_link {
    font-size: 15px;
  }

  .footer_bottom_links {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .header_menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero_title_white,
  .hero_title_gradient {
    font-size: 34px;
  }

  .hero_subtitle {
    font-size: 15px;
  }

  .float_card {
    width: 132px;
    min-height: 82px;
    padding: 12px 12px 10px;
  }

  .float_card h3 {
    font-size: 18px;
  }

  .float_card p {
    font-size: 12px;
  }

  .card_1 {
    top: 4%;
    right: -12px;
  }

  .card_2 {
    top: 14%;
    left: -12px;
  }

  .card_3 {
    top: 24%;
    right: -8px;
  }

  .hero_content {
    padding-top: 250px;
  }

  .features_grid {
    gap: 10px;
  }

  .feature_card {
    min-height: 108px;
    padding: 12px 8px;
  }

  .feature_title {
    font-size: 12px;
  }

  .feature_icon {
    width: 40px;
    height: 40px;
  }

  .feature_icon svg {
    width: 18px;
    height: 18px;
  }

  .about_title,
  .licenses_title,
  .cta_title {
    font-size: 32px;
  }

  .about_stats {
  gap: 8px;
}

.about_card {
  min-height: 155px;
  padding: 14px 8px;
  border-radius: 16px;
}

.about_icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.about_icon svg {
  width: 20px;
  height: 20px;
}

.about_value {
  font-size: 26px;
  margin-bottom: 6px;
}

.about_label {
  font-size: 12px;
}
}

@keyframes floatOneMobile {
  0%   { transform: translateY(0) rotate(8deg); }
  50%  { transform: translateY(-12px) rotate(11deg); }
  100% { transform: translateY(0) rotate(8deg); }
}

@keyframes floatTwoMobile {
  0%   { transform: translateY(0) rotate(-6deg); }
  50%  { transform: translateY(10px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(-6deg); }
}

@keyframes floatThreeMobile {
  0%   { transform: translateY(0) rotate(5deg); }
  50%  { transform: translateY(-10px) rotate(8deg); }
  100% { transform: translateY(0) rotate(5deg); }
}

html {
  scroll-behavior: smooth;
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.header_menu_register {
  background: transparent;
  border: none;
  cursor: pointer;
}
.modal_close {
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

.modal_close:hover {
  transform: rotate(90deg) scale(1.05);
  background: rgba(255,255,255,0.06);
  color: #12d7ff;
}
.feature_icon,
.about_icon {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: iconFloat 3.2s ease-in-out infinite;
}

.feature_card:hover .feature_icon,
.about_card:hover .about_icon {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(18, 215, 255, 0.12);
}

@keyframes iconFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
.form_group input,
.form_group select {
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    transform 0.2s ease;
}

.form_group input:hover,
.form_group select:hover {
  background: rgba(255,255,255,0.06);
}

.form_group input:focus,
.form_group select:focus {
  transform: translateY(-1px);
}
.modal_overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.42s ease,
    visibility 0.42s ease,
    backdrop-filter 0.42s ease,
    -webkit-backdrop-filter 0.42s ease,
    background 0.42s ease;
}

.register_modal {
  position: relative;
  width: 100%;
  max-width: 468px;
  max-height: min(90vh, 820px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    rgba(10, 10, 15, 0.92);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 10px 30px rgba(18, 215, 255, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(38px) scale(0.92);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease;
}

.modal_overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal_overlay.active .register_modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.register_modal_content {
  max-height: min(90vh, 820px);
  padding: 26px 24px 22px;
  overflow-y: auto;
}

.modal_close {
  position: absolute;
  top: 6px; right: 6px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.register_modal_title {
  color: #f8fafc;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

.register_form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register_steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.register_step_item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.register_step_item.active {
  border-color: rgba(18, 215, 255, 0.4);
  background: rgba(18, 215, 255, 0.08);
}

.register_step_item.done {
  border-color: rgba(34, 245, 154, 0.36);
  background: rgba(34, 245, 154, 0.08);
}

.register_step_number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.register_step_item.active .register_step_number {
  background: #12d7ff;
  color: #071019;
}

.register_step_item.done .register_step_number {
  background: #22f59a;
  color: #071019;
}

.register_step_text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.register_step_label {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.register_step_hint {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  line-height: 1.2;
}

.register_step_divider {
  width: 12px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.register_step_panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register_step_panel[hidden] {
  display: none;
}

.register_step_actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.register_step_actions_single > * {
  width: 100%;
}

.register_step_actions .submit_register_button,
.register_step_actions .modal_secondary_button {
  flex: 1;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form_group label {
  color: rgba(255,255,255,0.76);
  font-size: 15px;
  font-weight: 500;
}

.form_group input,
.form_group select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form_group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form_group input::placeholder {
  color: rgba(255,255,255,0.34);
}

.form_group input:focus,
.form_group select:focus {
  border-color: rgba(18, 215, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(18, 215, 255, 0.08);
}


.field_hint,
.field_error,
.checkbox_error,
.form_global_error,
.form_footer_text {
  font-size: 13px;
  line-height: 1.4;
}

.field_hint {
  color: rgba(255,255,255,0.42);
  margin-top: -4px;
}

.field_error,
.checkbox_error,
.form_global_error {
  color: #ff6b8f;
}

.field_error {
  min-height: 18px;
  margin-top: -2px;
}

.checkbox_error {
  display: block;
  min-height: 18px;
  margin-top: -8px;
}

.form_global_error {
  min-height: 20px;
  margin-top: -4px;
}

.form_footer_text {
  color: rgba(255,255,255,0.62);
  text-align: center;
  margin-top: 4px;
}

.auth-switch-link {
  border: none;
  background: none;
  color: #12d7ff;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 0 6px;
}

.checkbox_row.has-error {
  color: #ff8aa5;
}

.checkbox_row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}

.checkbox_row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #12d7ff;
}

.submit_register_button,
.modal_login_button,
.modal_secondary_button {
  height: 52px;
  border: none;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.submit_register_button {
  margin-top: 0;
  background: #12d7ff;
  color: #071019;
  box-shadow: 0 10px 30px rgba(18, 215, 255, 0.2);
}

.register_success {
  text-align: center;
  padding-top: 8px;
}

.register_success_title {
  color: #f8fafc;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.register_success_text {
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.register_success_actions {
  display: flex;
  gap: 12px;
}

.modal_login_button {
  flex: 1;
  background: #12d7ff;
  color: #071019;
}

.modal_secondary_button {
  flex: 1;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .header_actions {
    width: 100%;
    justify-content: center;
  }

  .header_login_button,
  .header_register_button {
    flex: 1;
    max-width: 220px;
  }

  .register_modal {
    max-width: 100%;
    max-height: calc(100vh - 24px);
  }

  .register_modal_content {
    max-height: calc(100vh - 24px);
    padding: 22px 16px 18px;
  }

  .register_modal_title {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .register_steps {
    gap: 8px;
  }

  .register_step_item {
    padding: 8px 10px;
  }

  .register_step_label {
    font-size: 12px;
  }

  .register_step_hint {
    font-size: 10px;
  }

  .form_group input,
  .form_group select,
  .submit_register_button,
  .modal_login_button,
  .modal_secondary_button {
    height: 50px;
    font-size: 15px;
  }

  .register_step_actions,
  .register_success_actions {
    flex-direction: column;
  }
}

/* АНИМАЦИИ */

.header_register_button,
.hero_cta,
.cta_button,
.submit_register_button,
.modal_login_button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.header_register_button::before,
.hero_cta::before,
.cta_button::before,
.submit_register_button::before,
.modal_login_button::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 55%;
  height: 320%;
  transform: rotate(24deg) translateX(-220%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.08) 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.header_register_button span,
.hero_cta span,
.cta_button span,
.submit_register_button span,
.modal_login_button span {
  position: relative;
  z-index: 2;
}

.header_register_button:hover,
.hero_cta:hover,
.cta_button:hover,
.submit_register_button:hover,
.modal_login_button:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 18px 38px rgba(18, 215, 255, 0.22),
    0 8px 24px rgba(168, 85, 247, 0.12);
}

.header_register_button:hover::before,
.hero_cta:hover::before,
.cta_button:hover::before,
.submit_register_button:hover::before,
.modal_login_button:hover::before {
  animation: buttonShine 0.95s ease;
}

.header_register_button:active,
.hero_cta:active,
.cta_button:active,
.submit_register_button:active,
.modal_login_button:active {
  transform: translateY(-1px) scale(0.985);
}

.header_login_button,
.modal_secondary_button,
.header_menu_register {
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.header_login_button:hover,
.modal_secondary_button:hover,
.header_menu_register:hover {
  transform: translateY(-3px);
  background: rgba(18, 215, 255, 0.12);
  border-color: rgba(18, 215, 255, 0.32);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 215, 255, 0.1);
}

.header_menu_item {
  transition:
    color 0.24s ease,
    opacity 0.24s ease,
    transform 0.24s ease,
    text-shadow 0.24s ease;
}

.header_menu_item:hover {
  opacity: 1;
  color: #12d7ff;
  transform: translateY(-1px);
  text-shadow: 0 0 18px rgba(18, 215, 255, 0.18);
}

@keyframes buttonShine {
  0% {
    transform: rotate(24deg) translateX(-220%);
  }
  100% {
    transform: rotate(24deg) translateX(420%);
  }
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.language_switcher {
  position: relative;
}

.language_toggle {
  min-width: 118px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.language_toggle:hover {
  transform: translateY(-2px);
  background: rgba(18, 215, 255, 0.08);
  border-color: rgba(18, 215, 255, 0.25);
  box-shadow: 0 10px 24px rgba(18, 215, 255, 0.08);
}

.language_current {
  color: #12d7ff;
  font-weight: 700;
  font-size: 13px;
}

.language_dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  z-index: 100;
}

.language_option {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,0.84);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.language_option:hover {
  background: rgba(255,255,255,0.05);
  color: #ffffff;
}

.language_option.active {
  background: rgba(18, 215, 255, 0.10);
  color: #ffffff;
}

.language_check {
  opacity: 0;
  color: #12d7ff;
  font-weight: 700;
}

.language_option.active .language_check {
  opacity: 1;
}

.language_switcher {
  position: relative;
  flex-shrink: 0;
}

.language_toggle {
  height: 46px;
  min-width: 78px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.language_toggle:hover {
  transform: translateY(-2px);
  background: rgba(18, 215, 255, 0.08);
  border-color: rgba(18, 215, 255, 0.25);
  box-shadow: 0 10px 24px rgba(18, 215, 255, 0.08);
}

.language_current {
  color: #12d7ff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.language_arrow {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.language_toggle[aria-expanded="true"] .language_arrow {
  transform: rotate(180deg);
}

.language_dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 110px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  z-index: 1000;
}

.language_option {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,0.84);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  font-size: 15px;
  font-weight: 600;
}

.language_option:hover {
  background: rgba(255,255,255,0.05);
  color: #ffffff;
}

.language_option.active {
  background: rgba(18, 215, 255, 0.10);
  color: #ffffff;
}

.language_check {
  opacity: 0;
  color: #12d7ff;
  font-weight: 700;
}

.language_option.active .language_check {
  opacity: 1;
}

@media (max-width: 768px) {
  .language_switcher {
    width: auto;
  }

  .language_toggle {
    width: auto;
    min-width: 72px;
    max-width: none;
    height: 42px;
    padding: 0 12px;
  }

  .language_dropdown {
    left: auto;
    right: 0;
    transform: none;
    width: 110px;
  }
}

.brand {
  cursor: default;
  text-decoration: none;
}


.submit_register_button.is-loading {
  opacity: 0.78;
  pointer-events: none;
  position: relative;
}

.submit_register_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.form_global_error.success {
  color: #30e7a3;
}


@media (max-height: 760px) {
  .modal_overlay {
    align-items: flex-start;
    overflow-y: auto;
  }

  .register_modal {
    margin: 12px 0;
    max-height: none;
  }

  .register_modal_content {
    max-height: none;
  }
}


[hidden] {
  display: none !important;
}

.landing_header_left,
.landing_header_right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing_header_left {
  min-width: 0;
}

.landing_header_right {
  margin-left: auto;
}

.header_menu .auth-only,
.landing_header_right .auth-only,
.header_menu .guest-only,
.landing_header_right .guest-only {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.header_menu_item,
.header_register_button,
.language_toggle,
.profile-trigger,
.dropdown-item {
  transition: transform 0.18s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.header_menu_item:hover,
.header_register_button:hover,
.language_toggle:hover,
.profile-trigger:hover,
.dropdown-item:hover {
  transform: translateY(-1px);
}

.header_menu_item:active,
.header_register_button:active,
.language_toggle:active,
.profile-trigger:active,
.dropdown-item:active {
  transform: scale(0.985);
}

.profile-wrapper {
  position: relative;
}

.profile-trigger {
  height: 54px;
  padding: 0 16px 0 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #f7f8fb;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.profile-trigger:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #17d5ff, #9f55ff);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-email {
  color: #f7f8fb;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-chevron {
  margin-left: auto;
  opacity: 0.72;
  transition: transform 0.22s ease;
}

.profile-trigger.open .profile-chevron {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(9, 12, 21, 0.98);
  box-shadow: 0 24px 60px rgba(0,0,0,0.36);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 40;
}

.profile-wrapper.open .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #eef2fb;
  font-size: 15px;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1180px) {
  .landing_header {
    gap: 16px;
    flex-wrap: wrap;
  }

  .landing_header_left,
  .landing_header_right {
    width: 100%;
    justify-content: space-between;
  }

  .header_menu {
    flex-wrap: wrap;
  }

  .profile-trigger {
    min-width: 220px;
  }
}

@media (max-width: 820px) {
  .header_menu {
    gap: 0;
  }

  .header_menu_item {
    padding: 10px 12px;
    font-size: 15px;
  }

  .header_register_button {
    width: auto;
    min-width: 150px;
    padding: 0 18px;
  }

  .profile-trigger {
    min-width: 0;
    width: 100%;
  }

  .landing_header_right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .landing-profile {
    width: 100%;
  }
}


/* =========================
   LANDING HEADER + MOBILE FIXES
========================= */
.landing_header {
  gap: 18px;
}

.landing_header_left {
  flex: 1 1 auto;
  min-width: 0;
}

.landing_header_right {
  flex: 0 0 auto;
  gap: 12px;
  flex-wrap: nowrap;
}

.language_switcher {
  padding: 0;
  flex-shrink: 0;
}

.landing-profile {
  flex-shrink: 0;
}

.landing-profile .profile-trigger {
  min-width: 54px;
  width: 54px;
  height: 46px;
  padding: 0 10px 0 6px;
  gap: 8px;
  border-radius: 14px;
  justify-content: center;
}

.landing-profile .profile-email {
  display: none;
}

.landing-profile .profile-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.landing-profile .profile-chevron {
  margin-left: 0;
  font-size: 12px;
}

.landing-profile .profile-dropdown {
  right: 0;
  width: 220px;
}

.submit_register_button,
.modal_login_button,
.modal_secondary_button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1180px) {
  .landing_header {
    flex-wrap: nowrap;
    align-items: center;
  }

  .landing_header_left,
  .landing_header_right {
    width: auto;
  }

  .landing_header_left {
    flex: 1 1 auto;
  }

  .landing_header_right {
    justify-content: flex-end;
  }

  .header_menu {
    flex-wrap: nowrap;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .landing_header {
    padding: 14px 12px;
    gap: 10px;
  }

  .landing_header_left {
    gap: 10px;
    min-width: 0;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .header_menu {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header_menu::-webkit-scrollbar {
    display: none;
  }

  .header_menu_item {
    flex: 0 0 auto;
    font-size: 15px;
    padding: 10px 10px;
  }

  .landing_header_right {
    gap: 8px;
  }

  .language_toggle {
    min-width: 68px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .landing-profile .profile-trigger {
    height: 42px;
  }
}

@media (max-width: 768px) {
  .landing_header {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 12px 10px;
    gap: 8px;
  }

  .landing_header_left,
  .landing_header_right {
    width: auto;
    min-width: 0;
  }

  .landing_header_left {
    flex: 1 1 auto;
    gap: 8px;
  }

  .landing_header_right {
    margin-left: 0;
    flex: 0 0 auto;
    gap: 8px;
    align-self: center;
  }

  .header_menu {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
  }

  .header_menu_item {
    padding: 8px 8px;
    font-size: 13px;
  }

  .header_register_button {
    display: none !important;
  }

  .language_switcher {
    width: auto;
  }

  .language_toggle {
    width: auto;
    min-width: 64px;
    max-width: none;
    height: 40px;
    padding: 0 10px;
    gap: 6px;
  }

  .language_current {
    font-size: 13px;
  }

  .landing-profile {
    width: auto;
  }

  .landing-profile .profile-trigger {
    width: 50px;
    min-width: 50px;
    height: 40px;
    padding: 0 8px 0 5px;
    border-radius: 12px;
    gap: 6px;
  }

  .landing-profile .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
    font-weight: 800;
  }

  .landing-profile .profile-dropdown {
    width: 200px;
  }

  .register_step_actions,
  .register_success_actions {
    flex-direction: column;
    width: 100%;
  }

  .submit_register_button,
  .modal_login_button,
  .modal_secondary_button {
    width: 100%;
    min-width: 100%;
    height: 50px;
  }
}

@media (max-width: 560px) {
  .landing_header {
    padding: 10px 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 17px;
  }

  .header_menu_item {
    padding: 8px 7px;
    font-size: 12px;
  }

  .language_toggle {
    min-width: 60px;
    padding: 0 8px;
  }
}


/* =========================
   FINAL AUTHENTIC LANDING HEADER OVERRIDES
========================= */
.landing_header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  padding: 20px 24px;
  background: rgba(5, 8, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.landing_header_left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 1 1 auto;
}

.landing_header_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: fit-content;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  white-space: nowrap;
}

.header_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header_menu::-webkit-scrollbar {
  display: none;
}

.header_menu_item {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  white-space: nowrap;
}

.language_switcher,
.header_register_button,
.landing-profile {
  flex: 0 0 auto;
}

.language_toggle {
  min-width: 74px;
  height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.language_current {
  font-weight: 700;
  line-height: 1;
}

.landing-profile .profile-trigger {
  min-width: 58px;
  width: 58px;
  height: 48px;
  padding: 0 10px 0 8px;
  border-radius: 16px;
  justify-content: center;
  gap: 8px;
}

.landing-profile .profile-email {
  display: none !important;
}

.landing-profile .profile-avatar,
.profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.landing-profile .profile-avatar {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.landing-profile .profile-chevron {
  margin-left: 0;
  font-size: 12px;
  opacity: 0.78;
}

.landing-profile .profile-dropdown {
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
}

.register_step_actions,
.register_success_actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.register_step_actions > *,
.register_success_actions > * {
  flex: 1 1 0;
}

.submit_register_button,
.modal_login_button,
.modal_secondary_button,
.register_next_button,
.register_back_button {
  min-height: 52px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1180px) {
  .landing_header {
    gap: 16px;
    padding: 18px 18px;
  }

  .landing_header_left {
    gap: 18px;
  }

  .header_menu_item {
    padding: 0 12px;
  }
}

@media (max-width: 900px) {
  .landing_header {
    gap: 10px;
    padding: 14px 12px;
  }

  .landing_header_left {
    gap: 12px;
  }

  .header_menu {
    justify-content: flex-start;
    gap: 2px;
  }

  .header_menu_item {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .language_toggle,
  .landing-profile .profile-trigger {
    height: 42px;
    border-radius: 13px;
  }

  .landing-profile .profile-trigger {
    min-width: 52px;
    width: 52px;
  }

  .language_toggle {
    min-width: 66px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .landing_header {
    gap: 8px;
    padding: 12px 10px;
  }

  .landing_header_left {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 17px;
  }

  .header_menu {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .header_menu_item {
    min-height: 38px;
    padding: 0 9px;
    font-size: 12px;
  }

  .header_register_button {
    display: none !important;
  }

  .landing_header_right {
    gap: 8px;
  }

  .language_switcher,
  .landing-profile {
    width: auto;
    min-width: 0;
  }

  .language_toggle {
    min-width: 62px;
    height: 40px;
    padding: 0 9px;
    gap: 6px;
  }

  .landing-profile .profile-trigger {
    width: 50px;
    min-width: 50px;
    height: 40px;
    padding: 0 8px 0 6px;
    gap: 6px;
    border-radius: 12px;
  }

  .landing-profile .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .register_step_actions,
  .register_success_actions {
    flex-direction: column;
    gap: 10px;
  }

  .submit_register_button,
  .modal_login_button,
  .modal_secondary_button,
  .register_next_button,
  .register_back_button {
    width: 100%;
    min-width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 560px) {
  .landing_header {
    gap: 6px;
    padding: 10px 8px;
  }

  .landing_header_left {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 15px;
  }

  .header_menu_item {
    padding: 0 8px;
    font-size: 12px;
  }

  .language_toggle {
    min-width: 58px;
    height: 38px;
    padding: 0 8px;
  }

  .landing-profile .profile-trigger {
    width: 48px;
    min-width: 48px;
    height: 38px;
  }

  .landing-profile .profile-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}



/* =========================
   PANEL-STYLE LANDING HEADER FINAL FIX
========================= */
.landing_header {
  position: sticky !important;
  top: 0;
  z-index: 90;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  padding: 22px 28px !important;
  background: rgba(8, 11, 20, 0.9) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.landing_header_left,
.landing_header_right {
  display: flex !important;
  align-items: center !important;
}

.landing_header_left {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 22px !important;
}

.landing_header_right {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
}

.brand-mark {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #17d5ff 0%, #9f55ff 100%) !important;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.15) !important;
}

.brand-name {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.header_menu {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.header_menu::-webkit-scrollbar { display: none !important; }

.header_menu_item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 56px !important;
  padding: 0 18px !important;
  border-radius: 18px !important;
  color: #9ba3b6 !important;
  opacity: 1 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  transition: .22s ease !important;
}

.header_menu_item:hover,
.header_menu_item:focus-visible {
  color: #11d8ff !important;
  background: linear-gradient(180deg, rgba(18,124,180,0.2), rgba(11,46,69,0.35)) !important;
  box-shadow: inset 0 0 0 1px rgba(23, 204, 255, 0.08) !important;
}

.language_switcher,
.header_register_button,
.landing-profile {
  flex: 0 0 auto !important;
}

.language_switcher {
  padding: 0 !important;
}

.language_toggle {
  min-width: 76px !important;
  height: 58px !important;
  padding: 0 18px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.03) !important;
  color: #f4f7ff !important;
  opacity: 1 !important;
}

.language_current {
  font-weight: 700 !important;
  line-height: 1 !important;
}

.header_register_button {
  width: auto !important;
  min-width: 158px !important;
  height: 58px !important;
  padding: 0 22px !important;
  border-radius: 18px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.profile-wrapper {
  position: relative !important;
}

.landing-profile .profile-trigger {
  min-width: 62px !important;
  width: 62px !important;
  height: 58px !important;
  padding: 0 10px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.03) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.profile-avatar,
.landing-profile .profile-avatar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.landing-profile .profile-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #16d4ff, #bb58ff) !important;
  color: #fff !important;
  font-size: 15px !important;
  flex: 0 0 38px !important;
}

.landing-profile .profile-email {
  display: none !important;
}

.landing-profile .profile-chevron {
  margin-left: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  opacity: 0.78 !important;
}

.landing-profile .profile-dropdown {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  width: 220px !important;
}

.submit_register_button,
.modal_login_button,
.modal_secondary_button,
.register_next_button,
.register_back_button {
  width: 100% !important;
  min-width: 100% !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 920px) {
  .landing_header {
    padding: 16px 16px !important;
    gap: 14px !important;
  }

  .landing_header_left {
    gap: 14px !important;
  }

  .header_menu {
    gap: 8px !important;
  }

  .header_menu_item {
    min-height: 46px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
  }

  .language_toggle,
  .header_register_button,
  .landing-profile .profile-trigger {
    height: 46px !important;
    border-radius: 16px !important;
  }

  .landing-profile .profile-trigger {
    min-width: 54px !important;
    width: 54px !important;
  }

  .landing-profile .profile-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  .landing_header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px 10px !important;
    padding: 12px 12px !important;
  }

  .landing_header_left {
    display: contents !important;
  }

  .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .landing_header_right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-left: 0 !important;
    gap: 8px !important;
  }

  .header_menu {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    padding-bottom: 2px !important;
  }

  .header_menu_item {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
  }

  .header_register_button {
    display: none !important;
  }

  .language_toggle {
    min-width: 64px !important;
    height: 42px !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
  }

  .landing-profile .profile-trigger {
    min-width: 50px !important;
    width: 50px !important;
    height: 42px !important;
    padding: 0 7px !important;
    border-radius: 14px !important;
  }

  .landing-profile .profile-avatar {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 560px) {
  .landing_header {
    padding: 10px 8px !important;
    gap: 8px 8px !important;
  }

  .brand-mark {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.55rem !important;
  }

  .brand-name {
    font-size: 1rem !important;
  }

  .header_menu_item {
    min-height: 38px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }

  .language_toggle {
    min-width: 58px !important;
    height: 40px !important;
    padding: 0 8px !important;
  }

  .landing-profile .profile-trigger {
    min-width: 48px !important;
    width: 48px !important;
    height: 40px !important;
  }

  .landing-profile .profile-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}



/* ===== Landing auth visibility hard fix ===== */
.guest-only[hidden],
.auth-only[hidden],
#landingProfileWrapper[hidden] {
  display: none !important;
}

body.is-authenticated .guest-only {
  display: none !important;
}

body.is-guest .auth-only,
body.is-guest #landingProfileWrapper {
  display: none !important;
}


/* ===== Unified authenticated landing controls ===== */
body.is-authenticated .landing_header_right .language_switcher {
  display: none !important;
}

body.is-authenticated .landing-profile {
  display: block !important;
}

body.is-authenticated .landing-profile .profile-trigger {
  min-width: 280px !important;
  width: auto !important;
  height: 58px !important;
  padding: 0 16px !important;
  border-radius: 20px !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body.is-authenticated .landing-profile .profile-email {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #f4f7ff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

body.is-authenticated .landing-profile .profile-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

body.is-authenticated .landing-profile .profile-chevron {
  margin-left: auto !important;
}

@media (max-width: 860px) {
  body.is-authenticated .landing-profile .profile-trigger {
    min-width: 290px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }

  body.is-authenticated .landing-profile .profile-avatar {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    flex-basis: 34px !important;
  }

  body.is-authenticated .landing-profile .profile-email {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  body.is-authenticated .landing_header {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body.is-authenticated .landing_header_right {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.is-authenticated .landing-profile .profile-trigger {
    min-width: 210px !important;
    width: 210px !important;
    height: 44px !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
  }

  body.is-authenticated .landing-profile .profile-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    flex-basis: 30px !important;
  }

  body.is-authenticated .landing-profile .profile-email {
    font-size: 13px !important;
  }
}

@media (max-width: 560px) {
  body.is-authenticated .landing-profile .profile-trigger {
    min-width: 182px !important;
    width: 182px !important;
    height: 40px !important;
  }

  body.is-authenticated .landing-profile .profile-avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    flex-basis: 28px !important;
  }

  body.is-authenticated .landing-profile .profile-email {
    font-size: 12px !important;
  }
}


/* ===== Desktop modal buttons hotfix ===== */
@media (min-width: 769px) {
  .register_step_actions,
  .register_success_actions {
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .register_step_actions > *,
  .register_success_actions > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .register_step_actions .submit_register_button,
  .register_step_actions .modal_secondary_button,
  .register_success_actions .modal_login_button,
  .register_success_actions .modal_secondary_button,
  .register_next_button,
  .register_back_button {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 0 !important;
  }
}


/* ===== Unified authenticated header styles ===== */
body.is-authenticated .landing_header { background: rgba(8, 11, 20, 0.9); backdrop-filter: blur(18px); }
body.is-authenticated .landing-profile .profile-trigger,
body.is-authenticated .language_toggle,
body.is-authenticated .header_menu_item,
body.is-guest .language_toggle,
body.is-guest .header_register_button,
body.is-guest .header_menu_item {
  border-radius: 18px;
}
body.is-authenticated .landing-profile .profile-trigger {
  min-width: 280px !important;
  width: auto !important;
  height: 58px !important;
  padding: 0 16px !important;
  justify-content: space-between !important;
}
body.is-authenticated .landing-profile .profile-email { display: block !important; flex:1; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.is-authenticated .landing-profile .profile-avatar { width: 40px !important; height: 40px !important; font-size: 15px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; text-align:center !important; line-height:1 !important; font-weight:800 !important; letter-spacing:0.02em !important; text-transform:uppercase !important; }
body.is-authenticated .landing-profile .profile-dropdown {
  min-width: 220px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(14, 18, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}
body.is-authenticated .landing-profile .dropdown-item { width:100%; display:block; padding:12px 14px; border:0; border-radius:12px; background:transparent; color:#e8edf7; font-size:15px; text-align:left; cursor:pointer; }
body.is-authenticated .landing-profile .dropdown-item:hover { background: rgba(255,255,255,0.06); transform: translateX(2px); }
body.is-authenticated .landing-profile .dropdown-item.logout { color:#ff7e7e; }
body.is-authenticated .landing-profile .dropdown-item.logout:hover { background: rgba(255,80,80,0.08); }
body.is-authenticated .landing-profile .dropdown-toggle { display:flex; align-items:center; justify-content:space-between; }
body.is-authenticated .landing-profile .language-submenu { max-height:0; overflow:hidden; opacity:0; transform:translateY(-6px); pointer-events:none; transition:max-height .28s ease, opacity .22s ease, transform .22s ease; }
body.is-authenticated .landing-profile .language-submenu.active { max-height:160px; opacity:1; transform:translateY(0); pointer-events:auto; overflow-y:auto; margin-top:6px; }
body.is-authenticated .landing-profile .language-option { width:100%; display:block; padding:11px 14px; border:0; border-radius:10px; background:transparent; color:#e8edf7; font-size: 15px; text-align:left; cursor:pointer; }
body.is-authenticated .landing-profile .language-option:hover { background: rgba(255,255,255,0.06); transform: translateX(2px); }
body.is-authenticated .landing-profile .language-option.active { background: linear-gradient(135deg, rgba(0, 207, 255, 0.18), rgba(124, 92, 255, 0.14)); color: #fff; }
@media (max-width: 900px) {
  body.is-authenticated .landing-profile .profile-trigger { min-width: 56px !important; width:56px !important; padding:0 8px !important; }
  body.is-authenticated .landing-profile .profile-email { display:none !important; }
}

a.dropdown-item,.dropdown-item{text-decoration:none !important;} .profile-avatar{border-radius:999px !important;overflow:hidden;}


/* landing avatar circle fix */
.landing-profile .profile-avatar,
.profile-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  font-weight: 800 !important;
}

.install-modal-card{max-width:720px;margin:0 auto}
.install-copy{margin:0;color:var(--muted);line-height:1.6}
.modal-backdrop:not(.hidden){display:flex;align-items:center;justify-content:center;padding: 30px}
.centered-actions{justify-content:center !important;align-items:center !important}
.centered-actions > *{margin:0 auto}

.profile-trigger{justify-content:center}
.profile-avatar{aspect-ratio:1/1;min-width:34px;min-height:34px;max-width:34px;max-height:34px;border-radius:999px !important;line-height:34px;overflow:hidden}


.landing_profile_avatar,.profile-avatar,.header_profile_avatar{width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;aspect-ratio:1 / 1 !important;border-radius:999px !important;overflow:hidden !important;}
#country, .register_form select{background:#0c1320;color:#fff;border:1px solid rgba(255,255,255,.12);color-scheme:dark;}
#country option, .register_form select option{background:#0c1320;color:#fff;}
.blocked_modal_text{margin:12px 0 22px;color:#aeb7ca;line-height:1.6;}
.blocked_modal_button{width:100%;min-height:58px;border:none;border-radius:18px;background:linear-gradient(180deg,#ff5e7a,#c9304e);color:#fff;font-weight:700;box-shadow:0 20px 38px rgba(201,48,78,.28);}


/* v6 landing profile circle fix */
body.is-authenticated .landing-profile .profile-trigger{padding:0 12px !important;}
body.is-authenticated .landing-profile .profile-avatar,.landing-profile .profile-avatar{width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;border-radius:999px !important;aspect-ratio:1 / 1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}

.install-modal-card{max-width:540px !important;padding:22px !important;border-radius:28px !important}
.install-modal-card .modal-header{align-items:flex-start}
.install-modal-card h2{margin:6px 0 0;font-size:2rem;line-height:1.05}
.install-copy{margin:10px 0 18px !important;color:var(--muted) !important;line-height:1.6 !important}
.install-actions{display:flex;flex-direction:column;gap:12px;width:100%}
.install-actions .primary-button,.install-actions .ghost-button{width:100%;min-height:58px;border-radius:18px}


/* === fix22 landing authenticated avatar normalization === */
body.is-authenticated .landing-profile .profile-trigger {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
}
body.is-authenticated .landing-profile .profile-avatar,
.landing-profile .profile-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  margin: 0 !important;
}
@media (max-width: 640px) {
  body.is-authenticated .landing-profile .profile-trigger {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
  }
  body.is-authenticated .landing-profile .profile-avatar,
  .landing-profile .profile-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 15px !important;
  }
}


/* fix23 landing profile alignment */
.cap-verified-badge{display:inline-flex !important;}
.landing-profile .profile-trigger{padding:0 !important;justify-content:center !important;align-items:center !important;overflow:hidden !important;}
.landing-profile .profile-avatar{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:38px !important;height:38px !important;min-width:38px !important;min-height:38px !important;max-width:38px !important;max-height:38px !important;aspect-ratio:1/1 !important;border-radius:999px !important;font-size:15px !important;font-weight:800 !important;line-height:1 !important;letter-spacing:0 !important;padding:0 !important;overflow:hidden !important;}
.landing-profile .profile-chevron{display:none !important;}


/* === fix24 landing authenticated avatar === */
body.is-authenticated .landing-profile .profile-trigger{
  padding:0 !important;
  justify-content:center !important;
  align-items:center !important;
}
body.is-authenticated .landing-profile .profile-email,
body.is-authenticated .landing-profile .profile-chevron{display:none !important;}
body.is-authenticated .landing-profile .profile-avatar{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  width:38px !important;height:38px !important;min-width:38px !important;min-height:38px !important;max-width:38px !important;max-height:38px !important;
  aspect-ratio:1/1 !important;border-radius:999px !important;line-height:1 !important;font-size: 15px !important;font-weight:800 !important;padding:0 !important;margin:0 !important;
}
@media (max-width:640px){
 body.is-authenticated .landing-profile .profile-trigger{width:48px !important;min-width:48px !important;max-width:48px !important;height:48px !important;min-height:48px !important;border-radius:14px !important;}
 body.is-authenticated .landing-profile .profile-avatar{width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;max-width:32px !important;max-height:32px !important;}
}

/* === fix27 landing auth avatar === */
body.is-authenticated .landing-profile{display:flex !important;align-items:center !important;justify-content:center !important;}
body.is-authenticated .landing-profile .profile-trigger{
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
body.is-authenticated .landing-profile .profile-avatar{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  margin:0 auto !important;
  border-radius:999px !important;
}
@media (max-width:1100px){
 body.is-authenticated .landing-profile .profile-trigger{width:48px !important;min-width:48px !important;max-width:48px !important;height:48px !important;min-height:48px !important;}
 body.is-authenticated .landing-profile .profile-avatar{width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;}
}


/* v39 robust verification badge */
.cap-verified-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:999px!important;background:#1677ff!important;color:#fff!important;font-size:13px!important;font-weight:900!important;margin-left:8px!important;box-shadow:0 8px 22px rgba(22,119,255,.36)!important;}
.profile-wrapper.is-verified .profile-trigger{min-width:116px!important;max-width:none!important;gap:8px!important;}
@media(max-width:700px){.profile-wrapper.is-verified .profile-trigger{min-width:78px!important;width:78px!important;max-width:78px!important}.cap-verified-badge{flex-basis:20px!important;width:20px!important;height:20px!important;min-width:20px!important;margin-left:2px!important}}

/* === v45 verified header min-content fix === */
.landing_header_left,
.landing_header_right,
body.is-authenticated .landing_header_left,
body.is-authenticated .landing_header_right{
  min-width:0 !important;
}
body.is-authenticated .landing-profile.profile-wrapper.is-verified,
.profile-wrapper.is-verified{
  width:min-content !important;
  min-width:min-content !important;
  max-width:max-content !important;
  flex:0 0 min-content !important;
  overflow:visible !important;
}
body.is-authenticated .landing-profile.profile-wrapper.is-verified .profile-trigger,
.profile-wrapper.is-verified .profile-trigger{
  width:min-content !important;
  min-width:min-content !important;
  max-width:max-content !important;
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  padding:0 8px !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
.profile-wrapper.is-verified .cap-verified-badge{
  position:static !important;
  right:auto !important;
  bottom:auto !important;
  flex:0 0 18px !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  margin:0 !important;
}
@media(max-width:700px){
  body.is-authenticated .landing-profile.profile-wrapper.is-verified,
  .profile-wrapper.is-verified{
    width:min-content !important;
    min-width:min-content !important;
    max-width:max-content !important;
    flex:0 0 min-content !important;
  }
  body.is-authenticated .landing-profile.profile-wrapper.is-verified .profile-trigger,
  .profile-wrapper.is-verified .profile-trigger{
    width:min-content !important;
    min-width:min-content !important;
    max-width:max-content !important;
    height:40px !important;
    min-height:40px !important;
    padding:0 7px !important;
    gap:4px !important;
  }
  .profile-wrapper.is-verified .profile-email,
  .profile-wrapper.is-verified .profile-chevron{display:none !important;}
  .profile-wrapper.is-verified .profile-avatar{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    min-height:30px !important;
    flex:0 0 30px !important;
    margin:0 !important;
  }
  .profile-wrapper.is-verified .cap-verified-badge{
    position:static !important;
    flex:0 0 15px !important;
    width:15px !important;
    height:15px !important;
    min-width:15px !important;
    font-size:9px !important;
    margin:0 !important;
  }
}

.password-eye-wrap{position:relative;display:flex;align-items:center;}
.password-eye-wrap input{width:100%;padding-right:44px;}
.password-eye-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:inherit;cursor:pointer;font-size: 17px;line-height:1;opacity:.75;padding:6px;border-radius:8px;}
.password-eye-btn:hover{opacity:1;background:rgba(255,255,255,.08);}

.password-eye-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;color:#d9e6ff;border:1px solid rgba(126,167,255,.22);background:linear-gradient(135deg,rgba(57,92,172,.22),rgba(14,24,48,.1));box-shadow:inset 0 1px 0 rgba(255,255,255,.08);}
.password-eye-btn .eye-open,.password-eye-btn .eye-closed{position:absolute;width:18px;height:18px;background:currentColor;transition:.18s ease;}
.password-eye-btn .eye-open{clip-path:path('M9 3C4 3 1 9 1 9s3 6 8 6 8-6 8-6-3-6-8-6Zm0 9.4A3.4 3.4 0 1 1 9 5.6a3.4 3.4 0 0 1 0 6.8Zm0-1.8A1.6 1.6 0 1 0 9 7.4a1.6 1.6 0 0 0 0 3.2Z');}
.password-eye-btn .eye-closed{opacity:0;clip-path:polygon(2px 3px,16px 17px,14px 18px,0 4px);}
.password-eye-btn.is-visible .eye-open{opacity:.72;}
.password-eye-btn.is-visible .eye-closed{opacity:1;}

.password-eye-btn .eye-open{clip-path:none;border:1.8px solid currentColor;border-radius:70% 70% 70% 70% / 55% 55% 55% 55%;background:transparent;transform:rotate(-12deg);}
.password-eye-btn .eye-open::after{content:'';position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:currentColor;transform:translate(-50%,-50%);}
.password-eye-btn .eye-closed{clip-path:none;background:transparent;opacity:0;}
.password-eye-btn .eye-closed::after{content:'';position:absolute;left:1px;top:8px;width:18px;height:2px;border-radius:2px;background:currentColor;transform:rotate(-42deg);box-shadow:0 0 0 1px rgba(6,12,28,.12);}
.password-eye-btn.is-visible .eye-closed{opacity:1;}
