:root {
  --paper: #f7f1f3;
  --ink: #07101d;
  --ink-deep: #030b15;
  --red: #ff4058;
  --red-hot: #ff1336;
  --wine: #30101f;
  --muted: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 38%, rgba(192, 39, 61, 0.42), transparent 28%),
    radial-gradient(circle at 42% 92%, rgba(229, 30, 58, 0.33), transparent 31%),
    linear-gradient(125deg, #1d1024 0%, #35101e 42%, #180c1b 100%);
  font-family: "Rajdhani", "Orbitron", "Agency FB", "Segoe UI", sans-serif;
}

body.dashboard-open {
  background: #ffffff;
}

button,
a {
  font: inherit;
}

.viewport {
  width: 100vw;
  height: 100vh;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 56px;
}

.viewport[hidden],
.dashboard-screen[hidden] {
  display: none;
}

.hero-card {
  position: relative;
  width: min(88.75vw, calc((100vh - 120px) * 1.42), 1420px);
  aspect-ratio: 1.42;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  border-radius: 36px;
  clip-path: inset(0 round 36px);
  background: var(--ink-deep);
  transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 220ms ease;
  box-shadow:
    0 -10px 28px rgba(255, 82, 105, 0.07),
    0 12px 20px rgba(2, 8, 16, 0.22),
    0 54px 92px rgba(0, 0, 0, 0.54),
    0 72px 116px rgba(139, 17, 34, 0.34);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: inherit;
  box-shadow:
    inset 0 -92px 120px rgba(180, 28, 44, 0.2),
    inset 0 82px 88px rgba(2, 12, 24, 0.48);
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.12) brightness(0.62);
  transform: scale(1.018);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 19, 35, 0.9) 0%, rgba(10, 17, 35, 0.28) 38%, rgba(119, 20, 32, 0.35) 100%),
    radial-gradient(circle at 50% 77%, rgba(255, 23, 54, 0.58), transparent 21%),
    radial-gradient(circle at 12% 58%, rgba(8, 25, 48, 0.66), transparent 35%),
    radial-gradient(circle at 86% 56%, rgba(6, 18, 34, 0.68), transparent 36%);
  mix-blend-mode: multiply;
}

.brush {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 28%;
  height: 42%;
  opacity: 0.22;
  border: 16px solid rgba(77, 111, 161, 0.34);
  border-right-width: 32px;
  border-radius: 56% 18% 58% 20%;
  transform: rotate(-23deg) skewX(-9deg);
  filter: blur(1px);
}

.brush-left {
  left: -4%;
  top: 23%;
}

.brush-right {
  right: -5%;
  top: 18%;
  transform: rotate(34deg) skewX(8deg);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  height: 132px;
  display: grid;
  grid-template-columns: 250px 1fr 230px;
  align-items: start;
  gap: 20px;
  padding: 36px 50px 0;
}

.brand {
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: block;
  width: 88px;
  height: 68px;
  margin-left: 0;
}

.brand-wing,
.brand-mask {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-wing {
  bottom: 11px;
  width: 38px;
  height: 48px;
  background: #ff5264;
  clip-path: polygon(50% 0, 94% 22%, 100% 76%, 50% 56%, 0 76%, 6% 22%);
}

.brand-wing-left {
  transform: translateX(-87%) rotate(-28deg);
}

.brand-wing-right {
  transform: translateX(-13%) rotate(28deg);
}

.brand-mask {
  top: 13px;
  width: 42px;
  height: 38px;
  background: #07101d;
  border-radius: 48% 48% 42% 42%;
}

.brand-mask::before,
.brand-mask::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 8px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.56);
}

.brand-mask::before {
  left: 9px;
  transform: rotate(18deg);
}

.brand-mask::after {
  right: 9px;
  transform: rotate(-18deg);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 4vw, 48px);
  margin-top: 32px;
}

.nav-link {
  position: relative;
  border: 0;
  padding: 0;
  color: rgba(238, 241, 250, 0.72);
  background: transparent;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.44);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  box-shadow: 0 0 14px rgba(255, 31, 58, 0.82);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.38);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.contact-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  justify-self: end;
  margin-top: 14px;
  min-width: 160px;
  height: 54px;
  border: 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 46, 74, 0.16)),
    rgba(60, 31, 49, 0.8);
  clip-path: polygon(10% 0, 100% 0, 100% 62%, 84% 100%, 0 100%, 0 28%);
  backface-visibility: hidden;
  transform: translateZ(0);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 -1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 26px rgba(255, 22, 48, 0.14);
  transition: filter 160ms ease, transform 160ms ease;
}

.contact-button .button-word {
  display: inline-block;
  animation: buttonWordIn 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 42, 68, 0.86);
}

.contact-button:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 46, 74, 0.2)),
    rgba(72, 36, 56, 0.88);
  transform: translate3d(0, -1px, 0);
}

.title-mark {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 43.5%;
  width: max-content;
  max-width: 90%;
  color: rgba(255, 245, 247, 0.78);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(70px, 12vw, 190px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.68;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 #ffffff,
    0 28px 36px rgba(180, 18, 36, 0.28);
  text-align: center;
  transform: translateX(-50%) skewX(-11deg) rotate(-2deg);
  mix-blend-mode: screen;
  opacity: 0.2;
}

.title-mark span {
  display: block;
}

.stats {
  position: absolute;
  z-index: 8;
  left: 50px;
  bottom: 50px;
  display: flex;
  gap: 44px;
  align-items: flex-end;
}

.stat {
  display: grid;
  gap: 12px;
}

.stat strong {
  color: #ffffff;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.58);
}

.socials {
  position: absolute;
  z-index: 8;
  right: 54px;
  bottom: 47px;
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #07101d;
  background: #ffffff;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, filter 160ms ease;
}

.socials a::before,
.socials a::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 18px;
  background: #07101d;
  opacity: 0.12;
  clip-path: polygon(0 0, 100% 40%, 70% 100%, 8% 70%);
}

.socials a::before {
  left: -3px;
  bottom: 6px;
}

.socials a::after {
  right: 2px;
  bottom: -2px;
  transform: rotate(22deg);
}

.socials .play-social::before {
  content: "";
  position: static;
  width: 0;
  height: 0;
  margin-left: 4px;
  background: transparent;
  opacity: 1;
  clip-path: none;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #07101d;
}

.socials .play-social::after {
  display: none;
}

.socials a:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.32));
}

.login-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 46px);
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 78, 101, 0.18), transparent 42%),
    rgba(3, 8, 17, 0.52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-layer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.login-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  width: min(100%, 980px);
  height: min(76vh, 650px);
  min-height: 560px;
  overflow: hidden;
  color: #0b0e14;
  background: #ffffff;
  border-radius: 6px;
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.46),
    0 42px 110px rgba(255, 28, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translateY(24px) scale(0.975);
}

.login-layer.is-visible .login-card {
  animation: loginCardIn 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-layer.is-closing .login-card {
  animation: loginCardOut 440ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 5vw, 54px) clamp(32px, 5vw, 68px);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b0e14;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.login-brand-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #27d383, #1cba6b);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(34, 199, 117, 0.28);
}

.login-form-area {
  display: grid;
  gap: 0;
}

.login-form-header h2 {
  margin: 0 0 6px;
  color: #0b0e14;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0;
}

.login-form-header p {
  margin: 0;
  color: #a1a7b1;
  font-size: 11px;
  font-weight: 500;
}

.login-form {
  display: grid;
  margin-top: 30px;
}

.login-inputs {
  display: grid;
  gap: 20px;
}

.login-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 16px;
  color: #8c9199;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.login-input-icon:empty::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: 0 -6px 0 -3px currentColor;
}

.login-input-box input {
  width: 100%;
  height: 50px;
  border: 1px solid #eef0f2;
  border-radius: 5px;
  outline: 0;
  padding: 0 46px 0 45px;
  color: #0b0e14;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-input-box input::placeholder {
  color: #b0b3b8;
}

.login-input-box input:focus {
  border-color: #111827;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.login-toggle-password {
  position: absolute;
  right: 11px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #0b0e14;
  background: transparent;
  cursor: pointer;
}

.login-toggle-password::before {
  content: "";
  width: 16px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.login-toggle-password::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.login-submit {
  width: 100%;
  height: 52px;
  margin-top: 25px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: #0b1426;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(11, 20, 38, 0.24);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.login-submit:hover {
  background: #162542;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(11, 20, 38, 0.3);
}

.login-message {
  min-height: 16px;
  margin: 10px 0 0;
  color: #ff4058;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 180ms ease;
}

.login-message.is-visible {
  opacity: 1;
}

.login-footer {
  margin: 0;
  color: #8c9199;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.login-footer a {
  color: #0b0e14;
  font-weight: 800;
  text-decoration: none;
}

html.public-sphere-prepaint body::before {
  content: "";
  position: fixed;
  inset: -2px;
  z-index: 9998;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--sphere-x, 50%) var(--sphere-y, 50%), rgba(255, 82, 100, 0.16), transparent 18%),
    linear-gradient(135deg, #2b0f20 0%, #151624 46%, #07101d 100%);
  opacity: 1;
  transform: translateZ(0);
}

html.public-sphere-prepaint.public-gate-prepaint body::before {
  background: #020305;
}

html.public-sphere-prepaint:not(.public-sphere-ready) body > :not(.app-sphere-reveal):not(.app-gate-reveal):not(.vitrine-sphere-reveal):not(.signup-sphere-reveal):not(.page-sphere-transition):not(.vitrine-sphere-exit):not(.signup-sphere-exit) {
  opacity: 0 !important;
}

html.public-sphere-prepaint.public-sphere-ready body > * {
  opacity: 1;
}

html.public-sphere-prepaint.public-sphere-ready body::before {
  opacity: 0;
  transition: opacity 160ms ease;
}

.page-sphere-transition {
  position: fixed;
  inset: -2px;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--sphere-x, 50%) var(--sphere-y, 50%), rgba(60, 167, 254, 0.12), transparent 18%),
    linear-gradient(135deg, #1e222b 0%, #111723 48%, #070b12 100%);
  clip-path: circle(0 at var(--sphere-x, 50%) var(--sphere-y, 50%));
  animation: pageSphereOut 980ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: clip-path, opacity;
}

.app-sphere-reveal {
  position: fixed;
  inset: -2px;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--sphere-x, 50%) var(--sphere-y, 50%), rgba(255, 82, 100, 0.16), transparent 18%),
    linear-gradient(135deg, #2b0f20 0%, #151624 46%, #07101d 100%);
  clip-path: circle(160vmax at var(--sphere-x, 50%) var(--sphere-y, 50%));
  animation: appSphereIn 1080ms cubic-bezier(0.16, 0.82, 0.24, 1) both;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: clip-path, opacity;
}

.app-gate-reveal {
  position: fixed;
  inset: -2px;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  background: #020305;
  animation: appGateReveal 760ms cubic-bezier(0.2, 0.78, 0.24, 1) both;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: opacity, filter;
}

.app-gate-reveal::before,
.app-gate-reveal::after {
  display: none;
}

.login-banner {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 50%, transparent 50%),
    linear-gradient(135deg, #00b4db 0%, #0083b0 18%, #7028e4 50%, #e51155 79%, #ff8c00 100%);
  background-size: 8px 100%, auto;
}

.login-lamp {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 240px;
  height: 380px;
  pointer-events: none;
}

.login-lamp-shade {
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 5;
  width: 140px;
  height: 120px;
  background: #1b1e23;
  border-radius: 70px 70px 45px 45px;
  box-shadow:
    inset -10px -10px 20px rgba(0, 0, 0, 0.6),
    10px 15px 30px rgba(0, 0, 0, 0.4);
  transform: rotate(5deg);
}

.login-lamp-bulb {
  position: absolute;
  bottom: -15px;
  left: 30px;
  z-index: 4;
  width: 80px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 40px #ffffff, 0 0 80px rgba(255, 255, 255, 0.6);
}

.login-lamp-arm {
  position: absolute;
  top: 45px;
  right: 35px;
  z-index: 3;
  width: 75px;
  height: 250px;
  border: 14px solid #1b1e23;
  border-bottom: 0;
  border-left: 0;
  border-top-right-radius: 30px;
}

.login-lamp-base {
  position: absolute;
  right: 5px;
  bottom: 45px;
  z-index: 3;
  width: 140px;
  height: 25px;
  background: #1b1e23;
  border-radius: 50% / 30%;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    inset 0 3px 5px rgba(255, 255, 255, 0.2);
}

.login-lamp-shadow {
  position: absolute;
  right: -10px;
  bottom: 10px;
  z-index: 1;
  width: 170px;
  height: 35px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  filter: blur(8px);
}

.login-banner-text {
  position: relative;
  z-index: 2;
  width: 80%;
  padding-top: 100px;
}

.login-banner-text h2 {
  margin: 0;
  color: #ffffff;
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.login-reflection {
  position: relative;
  display: inline-block;
}

.login-reflection::after {
  content: "Back !";
  position: absolute;
  left: 0;
  top: 85%;
  color: transparent;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  font: inherit;
  transform: scaleY(-1);
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 980px) {
  .login-card {
    grid-template-columns: 1fr;
    width: min(100%, 460px);
    height: auto;
    min-height: 0;
  }

  .login-banner {
    display: none;
  }

  .login-panel {
    min-height: 560px;
    padding: 38px 32px;
  }
}

.dashboard-screen {
  width: 100vw;
  height: 100vh;
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.dashboard-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes videoPlayIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(32px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
  }
}

@keyframes videoPlayOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(32px);
  }
}

@keyframes loginCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes loginCardOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.985);
    filter: blur(5px);
  }
}

@keyframes pageSphereOut {
  0% {
    clip-path: circle(0 at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }

  20% {
    clip-path: circle(92px at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }

  100% {
    clip-path: circle(160vmax at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }
}

@keyframes appSphereIn {
  0% {
    clip-path: circle(160vmax at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }

  78% {
    clip-path: circle(92px at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }

  100% {
    clip-path: circle(0 at var(--sphere-x, 50%) var(--sphere-y, 50%));
  }
}

@keyframes appGateReveal {
  0% {
    opacity: 1;
    filter: blur(0.5px);
  }

  100% {
    opacity: 0;
    filter: blur(0);
  }
}

@keyframes buttonWordIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1180px) {
  .viewport {
    padding: 34px;
  }

  .hero-card {
    width: min(94vw, calc((100vh - 74px) * 1.42));
    border-radius: 28px;
  }

  .topbar {
    height: 104px;
    grid-template-columns: 190px 1fr 178px;
    padding: 28px 32px 0;
  }

  .nav-links {
    gap: 24px;
    margin-top: 28px;
  }

  .contact-button {
    min-width: 145px;
    height: 48px;
    font-size: 12px;
  }

  .stats {
    left: 34px;
    bottom: 34px;
    gap: 30px;
  }

  .socials {
    right: 36px;
    bottom: 31px;
    gap: 16px;
  }

  .socials a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .viewport {
    min-height: 100vh;
    padding: 20px;
  }

  .hero-card {
    width: min(94vw, 560px);
    min-height: 760px;
    aspect-ratio: auto;
  }

  .topbar {
    height: 132px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 24px;
  }

  .brand-mark {
    width: 70px;
    height: 56px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 24px;
    margin-top: 8px;
  }

  .contact-button {
    grid-column: 2;
    grid-row: 1;
  }

  .title-mark {
    left: 50%;
    top: 47%;
    font-size: clamp(60px, 19vw, 96px);
  }

  .stats {
    left: 24px;
    right: 24px;
    bottom: 108px;
    gap: 24px;
  }

  .socials {
    left: 24px;
    right: auto;
    bottom: 32px;
  }
}
