:root {
  --text: #f7fbff;
  --font-body: "Inter", sans-serif;
  --font-display: "Barlow Condensed", sans-serif;
  --cyan: #20b7ff;
  --cyan-bright: #78f4ff;
  --cta: #32c8ef;
  --lime: #cfff18;
  --lime-bright: #e9ff59;
  --shell-border: rgba(207, 255, 24, 0.82);
  --shell-border-blue: rgba(52, 217, 255, 0.9);
  --page-gutter: 18px;
  --surface-panel-background: rgba(11, 19, 29, 0.56);
  --surface-panel-background-mobile: rgba(11, 19, 29, 0.44);
  --surface-panel-border: rgba(105, 149, 193, 0.18);
  --surface-panel-shadow:
    inset 0 0 0 1px rgba(11, 34, 56, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.16);
  --surface-panel-shadow-mobile:
    inset 0 0 0 1px rgba(11, 34, 56, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.12);
  --surface-panel-filter: blur(10px) saturate(115%);
  --surface-panel-filter-mobile: none;
  --media-block-background:
    linear-gradient(135deg, rgba(35, 186, 255, 0.12), rgba(207, 255, 24, 0.09)),
    rgba(6, 14, 22, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(2, 4, 6, 0.78), rgba(2, 4, 6, 0.88)),
    url("./background-neuroflash.jpg") center top / cover no-repeat fixed,
    #020406;
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-shell {
  width: min(100%, 430px);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(7, 17, 26, 0.92) 0%, rgba(9, 19, 29, 0.9) 38%, rgba(6, 13, 20, 0.93) 100%);
  border-top: 1px solid transparent;
  border-left: 1px solid var(--shell-border);
  border-right: 1px solid var(--shell-border-blue);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--lime) 0%, var(--cta) 100%) 1;
  box-shadow:
    0 0 0 1px rgba(28, 80, 112, 0.2),
    0 0 34px rgba(47, 175, 255, 0.08);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-shell::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.015));
  z-index: 0;
}

.page-shell::before {
  background:
    linear-gradient(rgba(4, 11, 18, 0.48), rgba(4, 11, 18, 0.58)),
    radial-gradient(circle at 50% 14%, rgba(201, 255, 24, 0.08), transparent 20%),
    radial-gradient(circle at 80% 78%, rgba(37, 186, 255, 0.05), transparent 18%);
  z-index: 0;
}

.page-shell > * {
  position: relative;
  z-index: 1;
}

[data-shared-header] {
  width: 100%;
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-nav {
  width: 100%;
  margin: 0;
}

.home-nav,
.home-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-nav {
  padding: 18px 18px 14px;
  background: rgba(6, 13, 20, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-nav-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-mark {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark span {
  color: var(--lime);
}

.home-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.home-menu a.is-active {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(207, 255, 24, 0.28);
}

.price-badge {
  width: fit-content;
  padding: 9px 18px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-bright) 100%);
  color: #09111a;
  font-weight: 800;
  font-style: italic;
  transform: skewX(-12deg);
  box-shadow:
    0 0 24px rgba(207, 255, 24, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-badge {
  margin: 0;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1;
  white-space: nowrap;
}

.section-title,
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--section-title-gap, 22px);
}

.section-title__accent,
.heading-accent {
  width: 7px;
  height: 24px;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(201, 255, 24, 0.42);
}

.section-title__text {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.section-title__text--section,
.section-heading h2 {
  font-size: 2rem;
  font-weight: 700;
}

.surface-section,
.content-section {
  padding: var(--content-section-padding, 18px 18px 26px);
  position: relative;
}

.section-title--page,
.content-section-title {
  --section-title-gap: var(--content-section-title-gap, 22px);
}

.section-title--centered,
.content-section-title--centered {
  justify-content: center;
}

.section-title__text--page,
.content-section-title h1 {
  font-size: var(--content-section-title-size, 2rem);
  font-weight: var(--content-section-title-weight, 700);
  line-height: var(--content-section-title-line-height, 1);
  text-align: var(--content-section-title-align, left);
  text-transform: var(--content-section-title-transform, none);
}

.deferred-render {
  content-visibility: auto;
  contain-intrinsic-size: var(--deferred-render-size, 900px);
}

.surface-panel {
  background: var(--surface-panel-background);
  border: 1px solid var(--surface-panel-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--surface-panel-shadow);
  backdrop-filter: var(--surface-panel-filter);
  -webkit-backdrop-filter: var(--surface-panel-filter);
}

.surface-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.media-block,
.media-frame {
  display: grid;
  place-items: center;
  min-height: var(--media-block-min-height, 160px);
  background: var(--media-block-background);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.media-block--crop,
.media-frame--crop {
  overflow: hidden;
  padding: 0;
  background: var(--media-block-crop-background, transparent);
  position: relative;
}

.media-block__image,
.media-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: var(--media-image-position, center center);
  transform: scale(var(--media-image-scale, 1));
}

.warning-box {
  margin-top: 24px;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--lime) 0%, #d8ff20 66%, #aef016 100%);
  color: #08111b;
  box-shadow: 0 0 26px rgba(207, 255, 24, 0.22);
}

.warning-box h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  text-align: center;
}

.warning-box p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.ghost-link,
.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ghost-link {
  border: 1px solid rgba(120, 244, 255, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  background: rgba(10, 18, 29, 0.48);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
}

.cta-button {
  display: flex;
  margin-top: 18px;
  background: linear-gradient(90deg, #25baff 0%, #34d9ff 100%);
  color: #031018;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 0 24px rgba(37, 186, 255, 0.18);
}

.cta-button.is-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(0.78);
}

.footer {
  margin-top: 28px;
  color: #ffffff;
  border-top: 1px solid rgba(120, 244, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(5, 15, 24, 0.95), rgba(4, 11, 18, 0.9)),
    rgba(4, 11, 18, 0.92);
  box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.16);
}

.footer-shell {
  display: grid;
  align-items: start;
  gap: 18px;
  padding: 24px 16px 20px;
}

.footer-brand {
  min-width: 0;
  align-self: start;
  padding: 9px;
  border: 1px solid rgba(120, 244, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(37, 186, 255, 0.1), rgba(207, 255, 24, 0.08)),
    rgba(7, 17, 26, 0.58);
}

.footer-brand-logo {
  display: block;
  width: min(100%, 240px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.footer-brand h2,
.footer-column h3,
.footer-subgroup h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand h2 {
  font-size: clamp(2.35rem, 12vw, 4.4rem);
}

.footer-brand h2 span {
  color: #ffffff;
}

.footer-brand p,
.footer-column p,
.footer-subgroup p,
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-brand h2 + p,
.footer-brand-logo + p {
  margin-top: 6px;
}

.footer-column {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}

.footer-column h3 {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1.25rem;
}

.footer-column a {
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(207, 255, 24, 0.22);
}

.footer-subgroup {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-subgroup + .footer-subgroup {
  margin-top: 7px;
}

.footer-subgroup h4 {
  color: var(--cyan-bright);
  font-size: 1rem;
}

.footer-contact {
  width: fit-content;
  max-width: 100%;
  font-style: normal;
}

.footer-contact h3,
.footer-column--centered-title h3 {
  justify-self: stretch;
  text-align: center;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
}

.footer-contact-icon {
  width: 2.3em;
  height: 2.3em;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-bottom {
  padding: 6px 18px 7px;
  border-top: 1px solid rgba(120, 244, 255, 0.16);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll, scroll, scroll;
  }

  .page-shell {
    background: linear-gradient(180deg, rgba(7, 17, 26, 0.72) 0%, rgba(9, 19, 29, 0.7) 38%, rgba(6, 13, 20, 0.78) 100%);
  }

  .page-shell::before {
    background:
      linear-gradient(rgba(4, 11, 18, 0.2), rgba(4, 11, 18, 0.34)),
      radial-gradient(circle at 50% 14%, rgba(201, 255, 24, 0.06), transparent 20%),
      radial-gradient(circle at 80% 78%, rgba(37, 186, 255, 0.04), transparent 18%);
  }

  .surface-panel {
    background: var(--surface-panel-background-mobile, var(--surface-panel-background));
    box-shadow: var(--surface-panel-shadow-mobile, var(--surface-panel-shadow));
    backdrop-filter: var(--surface-panel-filter-mobile, none);
    -webkit-backdrop-filter: var(--surface-panel-filter-mobile, none);
  }

  .home-nav {
    flex-direction: column;
    align-items: flex-start;
    background: rgba(6, 13, 20, 0.86);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .home-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .home-menu {
    gap: 14px;
    justify-content: flex-start;
    width: 100%;
  }

  .ghost-link {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cta-button {
    justify-content: center;
    text-align: center;
  }

  .section-title--page .section-title__accent,
  .content-section-title .heading-accent {
    width: 10px;
    height: clamp(42px, 11vw, 58px);
  }

  .footer {
    margin-top: 24px;
  }

  .footer-shell {
    padding: 22px 12px 18px;
  }

  .footer-brand-logo {
    width: min(100%, 220px);
  }

  .footer-contact {
    width: 100%;
  }

  .footer-brand h2,
  .footer-brand p,
  .footer-column h3 {
    text-align: center;
  }

  .footer-column h3 {
    justify-self: stretch;
  }
}

@media (min-width: 900px) {
  body {
    background:
      linear-gradient(rgba(2, 4, 6, 0.74), rgba(2, 4, 6, 0.86)),
      url("./background-neuroflash.jpg") center top / cover no-repeat fixed,
      linear-gradient(180deg, #020406 0%, #061018 100%);
  }

  .page-shell {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(7, 17, 26, 0.58) 0%, rgba(9, 19, 29, 0.54) 38%, rgba(6, 13, 20, 0.62) 100%);
  }

  .page-shell::before {
    background:
      linear-gradient(rgba(4, 11, 18, 0.2), rgba(4, 11, 18, 0.32)),
      radial-gradient(circle at 50% 14%, rgba(201, 255, 24, 0.06), transparent 20%),
      radial-gradient(circle at 80% 78%, rgba(37, 186, 255, 0.04), transparent 18%);
  }

  .home-nav {
    padding-left: 0;
    padding-right: 0;
  }

  .home-nav-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .surface-section,
  .content-section {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: var(--content-section-padding-desktop, var(--content-section-padding, 18px 18px 26px));
  }

  .footer-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    grid-template-columns: minmax(210px, 0.76fr) minmax(130px, 0.55fr) minmax(220px, 0.85fr) minmax(260px, 0.95fr);
    gap: 10px 20px;
    padding: 12px 18px 10px;
  }

  .footer-brand {
    padding: 8px 10px;
  }

  .footer-brand-logo {
    width: min(100%, 220px);
  }

  .footer-brand h2 {
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    text-align: center;
  }

  .footer-column h3 {
    font-size: 1.08rem;
  }

  .footer-brand p,
  .footer-column p,
  .footer-column a,
  .footer-subgroup p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .footer-brand p {
    text-align: justify;
  }

  .footer-subgroup h4 {
    font-size: 1rem;
  }
}
