@font-face {
  font-family: "Posterama";
  src: url("../posterama.woff") format("woff");
  font-display: swap;
}

:root {
  --home-bg: #070816;
  --home-text: #f7f7fb;
  --home-muted: #a8aec7;
  --home-purple: #7568ff;
  --home-pink: #e94989;
  --home-cyan: #52b8df;
  --home-yellow: #fdc52c;
  --home-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  display: block;
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

html {
  background: var(--home-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--home-font);
  color: var(--home-text);
  background:
    radial-gradient(circle at 12% 14%, rgba(117, 104, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 88% 82%, rgba(233, 73, 137, 0.13), transparent 34rem),
    var(--home-bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #070816;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px) clamp(20px, 5vw, 76px) 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--home-yellow), var(--home-pink) 48%, var(--home-cyan));
  box-shadow: 0 0 28px rgba(117, 104, 255, 0.48);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 5px;
}

.brand-name {
  font-family: "Posterama", var(--home-font);
  font-size: 20px;
  letter-spacing: 0.045em;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
}

.availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61e8a8;
  box-shadow: 0 0 0 5px rgba(97, 232, 168, 0.1), 0 0 18px rgba(97, 232, 168, 0.65);
}

.hero {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 7vh, 90px) 0 clamp(46px, 6vh, 76px);
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero::before {
  content: none;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #c9c7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--home-purple), var(--home-pink));
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6.1vw, 88px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--home-yellow) 4%, var(--home-pink) 50%, var(--home-cyan) 96%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  background: #f7f7fb;
  color: #0b0c19;
  font-family: var(--home-font);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-portal::after {
  content: "→";
  font-size: 21px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-portal:hover {
  color: #0b0c19;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(117, 104, 255, 0.24);
}

.btn-portal:hover::after {
  transform: translateX(4px);
}

.btn-portal:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--home-cyan);
  outline-offset: 5px;
}

.action-note {
  max-width: 180px;
  color: #7f859f;
  font-size: 12px;
  line-height: 1.5;
}

.presence {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
  color: #858ba5;
  font-size: 12px;
}

.countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--home-font);
  font-size: 12px;
}

.countries li {
  position: relative;
  padding: 0;
  color: #cbd0e3;
  background: none;
  font-weight: 700;
  box-shadow: none;
}

.countries li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #555b75;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.35;
  animation: home-breathe 7s ease-in-out infinite alternate;
}

.hero-visual::before {
  top: 4%;
  left: 3%;
  background: var(--home-purple);
}

.hero-visual::after {
  right: 0;
  bottom: 4%;
  background: var(--home-pink);
  animation-delay: -3.5s;
}

.visual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 510px);
  min-height: 590px;
  padding: 60px 42px 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(25, 27, 53, 0.84), rgba(10, 11, 26, 0.68));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background: linear-gradient(135deg, rgba(117, 104, 255, 0.18), transparent 42%, rgba(82, 184, 223, 0.08));
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(66%, 285px);
  aspect-ratio: 1.06;
  margin-bottom: 32px;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(117, 104, 255, 0.04) 46%, transparent 70%);
  box-shadow: 0 0 70px rgba(117, 104, 255, 0.18);
}

.brain-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.32));
  animation: home-float 6s ease-in-out infinite;
}

.wordmark {
  position: relative;
  z-index: 1;
  font-family: "Posterama", var(--home-font);
  font-size: clamp(50px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.visual-tagline {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #8f95ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.security-chip {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(17, 19, 38, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.security-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #7ff0bb;
  background: rgba(97, 232, 168, 0.11);
  font-weight: 900;
}

.security-chip strong,
.security-chip small {
  display: block;
}

.security-chip strong {
  font-size: 12px;
}

.security-chip small {
  margin-top: 3px;
  color: #7f859d;
  font-size: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #686e87;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

@keyframes home-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-11px) rotate(1deg); }
}

@keyframes home-breathe {
  from { transform: scale(0.88); opacity: 0.26; }
  to { transform: scale(1.08); opacity: 0.42; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .visual-card {
    min-height: 560px;
  }
}

@media (max-width: 600px) {
  .site-shell {
    padding-inline: 20px;
  }

  .availability {
    font-size: 0;
  }

  .hero {
    gap: 48px;
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 66px);
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn-portal {
    width: 100%;
  }

  .action-note {
    max-width: none;
  }

  .presence {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
  }

  .countries li + li::before {
    display: none;
  }

  .visual-card {
    min-height: 470px;
    padding: 46px 24px 76px;
    border-radius: 30px;
  }

  .logo-stage {
    width: min(64vw, 230px);
    margin-bottom: 24px;
  }

  .wordmark {
    font-size: clamp(44px, 15vw, 62px);
  }

  .security-chip {
    right: 18px;
    bottom: 18px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .site-shell {
    padding-inline: 16px;
  }

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

  h1 {
    font-size: 43px;
  }

  .visual-card {
    min-height: 430px;
  }

  .security-chip {
    left: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
