/* RELSAT public landing. Scoped so the cabinet (#workLayer) stays untouched. */

:root {
  --lp-orange: #f7601e;
  --lp-orange-2: #ff8a4c;
  --lp-ink: #12151a;
  --lp-muted: #66707c;
  --lp-line: rgba(255, 255, 255, .12);
  --lp-card: #ffffff;
  --lp-soft: #f3f5f7;
  --lp-dark: #14181f;
  --lp-dark-2: #1c222c;
  --lp-radius: 22px;
  --lp-shadow: 0 18px 50px rgba(15, 18, 24, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
}

#workLayer {
  min-width: 1000px;
}

#infoLayer {
  display: block;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  color: var(--lp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--lp-soft);
}

#infoLayer * {
  box-sizing: border-box;
}

#infoLayer .lp-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

#infoLayer .header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  background: rgba(20, 24, 31, .94);
  border-bottom: 1px solid var(--lp-line);
}

#infoLayer .all-box {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

#infoLayer .logo {
  position: static;
  left: auto;
  top: auto;
  padding: 0;
  line-height: 1;
  letter-spacing: 5px;
  font-size: 22px;
}

#infoLayer .logo a {
  color: inherit;
}

#infoLayer .serverDateTime {
  position: static;
  left: auto;
  margin-left: auto;
  line-height: 1.3;
  font-size: 12px;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}

#infoLayer .login-box {
  position: static;
  right: auto;
  top: auto;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

#infoLayer .login-box a,
#infoLayer .login-box a.logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
  transition: .2s ease;
}

#infoLayer .login-box a:first-child {
  background: var(--lp-orange);
  color: #fff;
}

#infoLayer .login-box a:first-child:hover {
  filter: brightness(1.08);
}

#infoLayer .login-box a:last-child {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

#infoLayer .login-box a:last-child:hover {
  background: rgba(255, 255, 255, .14);
}

#infoLayer .login-box a .fa,
#infoLayer .login-box a .fas {
  color: inherit;
  margin: 0;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(247, 96, 30, .32), transparent 55%),
    radial-gradient(700px 380px at 0% 120%, rgba(247, 96, 30, .12), transparent 50%),
    var(--lp-dark);
  color: #fff;
  padding: 64px 0 72px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(247, 96, 30, .14);
  color: var(--lp-orange-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.03em;
}

.lp-hero h1 span {
  color: var(--lp-orange);
}

.lp-lead {
  max-width: 540px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.55;
}

.lp-points {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.lp-points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.45;
}

.lp-points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(247, 96, 30, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f7601e' d='M6.4 11.2 3.2 8l1.13-1.13L6.4 8.93l5.27-5.26L12.8 4.8z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border: 0;
  transition: .2s ease;
}

.lp-btn-primary {
  background: linear-gradient(180deg, #ff7a3a, var(--lp-orange));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(247, 96, 30, .35);
}

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

.lp-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .18);
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
}

.lp-visual {
  position: relative;
}

.lp-visual-card {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f6f7f9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.lp-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(20, 24, 31, .92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--lp-shadow);
}

.lp-chip-top {
  top: 18px;
  right: 18px;
}

.lp-chip-bottom {
  left: 18px;
  bottom: 18px;
}

.lp-chip b {
  color: var(--lp-orange-2);
}

.lp-section {
  padding: 72px 0;
}

.lp-section h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.lp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.lp-section-head p,
.lp-note {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-feature {
  padding: 22px;
  background: var(--lp-card);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

.lp-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(247, 96, 30, .12);
  color: var(--lp-orange);
  font-size: 18px;
}

.lp-feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.lp-feature p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lp-packages-section {
  background: #fff;
  padding: 72px 0 80px;
  scroll-margin-top: 84px;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.lp-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #e8ecf0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 21, 26, .04);
}

.lp-card.featured {
  border-color: rgba(247, 96, 30, .35);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, rgba(247, 96, 30, .55), rgba(247, 96, 30, .08)) border-box;
  box-shadow: 0 16px 40px rgba(247, 96, 30, .12);
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(247, 96, 30, .12);
  color: var(--lp-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.lp-price-main {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--lp-ink);
}

.lp-price-main small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lp-muted);
}

.lp-discount {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff1e8;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-month {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(247, 96, 30, .08);
}

.lp-month strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--lp-orange);
}

.lp-month span {
  font-size: 13px;
  font-weight: 700;
  color: #8a4b2e;
}

.lp-card.featured .lp-month {
  background: rgba(247, 96, 30, .14);
}

.lp-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}

.lp-channels span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--lp-soft);
  color: #44505c;
  font-size: 11px;
  font-weight: 600;
}

.lp-card .lp-note {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
}

.lp-card .lp-btn {
  width: 100%;
  margin-top: 16px;
}

.lp-card .lp-btn-ghost {
  color: var(--lp-ink) !important;
  border-color: #dbe1e7;
}

.lp-card .lp-btn-ghost:hover {
  background: var(--lp-soft);
}

.lp-footer {
  padding: 28px 0 40px;
  background: var(--lp-dark);
  color: rgba(255, 255, 255, .72);
}

.lp-footer a {
  color: #fff;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  gap: 24px;
  align-items: start;
}

.lp-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.lp-legal {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .5);
}

#authLayer.login-frame-wrap,
#regLayer.login-frame-wrap {
  padding: 0;
  background: transparent;
}

#authLayer .login-frame,
#regLayer .login-frame {
  width: 420px;
  max-width: calc(100vw - 32px);
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

#authLayer .button-holder,
#regLayer .button-holder {
  padding: 18px 0 0;
}

#authLayer .button-holder button.lp-btn-primary,
#regLayer .button-holder button.lp-btn-primary,
#authLayer .lp-btn-primary,
#regLayer .lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff7a3a, var(--lp-orange)) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(247, 96, 30, .35);
  font-size: 15px;
  font-weight: 700;
}

.arcticmodal-overlay,
.arcticmodal-container {
  z-index: 4000;
}

.lp-modal-head {
  padding: 28px 32px 8px;
  text-align: center;
  letter-spacing: 4px;
  font-size: 24px;
  font-weight: 700;
}

.lp-modal-head .sat {
  color: #1a1f26;
}

.lp-form {
  padding: 8px 32px 28px;
}

.lp-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 4px;
  border-bottom: 1px solid #e6eaee;
}

.lp-field i,
.lp-field .fas,
.lp-field .far,
.lp-field .fa {
  width: 22px;
  color: var(--lp-orange);
  font-size: 18px;
  text-align: center;
}

.lp-field input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
}

.lp-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px;
}

.lp-captcha-code {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #e6eaee;
  border-radius: 10px;
  background: #f6f7f9;
  cursor: pointer;
}

.lp-captcha-code img,
#authLayer img#l_image,
#regLayer img#r_image {
  width: 86px;
  height: 13px;
  max-width: 86px;
  max-height: 13px;
  border: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.lp-captcha input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e6eaee;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
}

.lp-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.lp-modal-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  color: #353b3f;
}

.lp-modal-actions .lp-btn {
  min-height: 44px;
}

#polsogl {
  width: min(800px, calc(100vw - 24px)) !important;
  max-height: min(700px, calc(100vh - 40px));
  padding: 28px !important;
  border-radius: 20px;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1100px) {
  .lp-grid,
  .lp-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  #infoLayer .all-box {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  #infoLayer .serverDateTime {
    display: none;
  }

  .lp-hero {
    padding: 36px 0 48px;
  }

  .lp-hero-grid,
  .lp-footer-grid,
  .lp-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .lp-hero h1 {
    font-size: 34px;
  }

  .lp-chip {
    font-size: 12px;
    padding: 8px 10px;
  }
}

@media (max-width: 640px) {
  #infoLayer .lp-wrap,
  #infoLayer .all-box {
    width: min(1160px, calc(100% - 24px));
  }

  #infoLayer .all-box {
    flex-wrap: nowrap;
    gap: 8px;
  }

  #infoLayer .logo {
    letter-spacing: 3px;
    font-size: 18px;
  }

  #infoLayer .login-box {
    gap: 6px;
    flex-shrink: 0;
  }

  #infoLayer .login-box a {
    padding: 8px 10px;
    font-size: 12px;
  }

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

  .lp-actions,
  .lp-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-btn {
    width: 100%;
  }

  .lp-chip {
    position: static;
    display: inline-flex;
    margin: 0 8px 8px 0;
  }

  .lp-visual-card {
    margin-top: 8px;
  }
}
