@font-face {
  font-family: "Pitagon Sans";
  src: url("../assets/fonts/PitagonSansText-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pitagon Sans";
  src: url("../assets/fonts/PitagonSansText-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pitagon Sans";
  src: url("../assets/fonts/PitagonSansText-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pitagon Sans";
  src: url("../assets/fonts/PitagonSansText-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pitagon Sans";
  src: url("../assets/fonts/PitagonSansText-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --steel-pink: #b841d9;
  --penn-blue: #042159;
  --midnight-blue: #1c1972;
  --russian-violet: #100e40;
  --jet: #393939;
  --white: #ffffff;
  --black: #000000;
  --header-h: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
}

#about,
#contact {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: "Pitagon Sans", "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 65, 217, 0.15);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 3.25rem;
  height: 3.25rem;
  image-rendering: pixelated;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .brand {
  font-family: "Pitagon Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

.logo-text .studio {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--steel-pink);
  margin-top: 0.25rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--steel-pink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav a:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(184, 65, 217, 0.55);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.lang-sep {
  color: rgba(184, 65, 217, 0.45);
  font-weight: 300;
  user-select: none;
}

.lang-btn {
  color: rgba(184, 65, 217, 0.55);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.lang-btn:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(184, 65, 217, 0.55);
}

.lang-btn.is-active {
  color: var(--steel-pink);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  background-color: var(--black);
  background-image: url("../assets/patterns/pattern-cat-purple.png");
  background-size: 420px auto;
  background-repeat: repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.82) 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: min(900px, 92vw);
}

.hero-title {
  font-family: "Pitagon Sans", sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--steel-pink);
  letter-spacing: 0.01em;
  animation: heroIn 1.1s ease both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 8vw;
  background: linear-gradient(180deg, var(--russian-violet) 0%, var(--penn-blue) 100%);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-visual img {
  width: min(100%, 340px);
  image-rendering: pixelated;
  filter: drop-shadow(0 20px 40px rgba(184, 65, 217, 0.25));
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.about-label {
  color: var(--steel-pink);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.about-title {
  color: var(--steel-pink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.about-body {
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  max-width: 42ch;
}

.engine {
  padding: 3.5rem 8vw 0;
  background: var(--black);
}

.engine-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.engine-title {
  color: var(--steel-pink);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-engine {
  background: var(--midnight-blue);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(184, 65, 217, 0.35);
}

.btn-engine:hover {
  background: var(--steel-pink);
  box-shadow: 0 10px 30px rgba(184, 65, 217, 0.35);
}

.btn-engine img {
  width: 1.25rem;
  height: 1.25rem;
}

.engine-band {
  height: clamp(4.5rem, 10vw, 7rem);
  background-image: url("../assets/patterns/mesh-pixel.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.85;
  border-top: 1px solid rgba(184, 65, 217, 0.2);
  border-bottom: 1px solid rgba(184, 65, 217, 0.2);
}

.features {
  padding: clamp(4rem, 8vw, 6.5rem) 8vw;
  background: var(--russian-violet);
  text-align: center;
}

.features-intro {
  color: var(--steel-pink);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 600;
  max-width: 24ch;
  margin: 0 auto 3.5rem;
  line-height: 1.35;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.feature img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  image-rendering: pixelated;
  transition: transform 0.35s ease;
}

.feature:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.feature p {
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  max-width: 16ch;
  line-height: 1.4;
}

.contact {
  padding: clamp(4rem, 8vw, 6rem) 8vw;
  background: linear-gradient(180deg, var(--penn-blue) 0%, var(--russian-violet) 100%);
}

.contact-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: var(--white);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--steel-pink);
}

.contact-list img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.message {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 8vw;
  background-color: var(--black);
  background-image: url("../assets/patterns/pattern-cat-blue.png");
  background-size: 480px auto;
  background-repeat: repeat;
  overflow: hidden;
}

.message::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.message-mascot {
  position: absolute;
  width: clamp(7rem, 16vw, 12rem);
  opacity: 0.22;
  image-rendering: pixelated;
  pointer-events: none;
  z-index: 0;
}

.message-mascot.tl {
  top: 1.5rem;
  left: 1.5rem;
}

.message-mascot.tr {
  top: 1.5rem;
  right: 1.5rem;
  transform: scaleX(-1);
}

.message-mascot.bl {
  bottom: 1.5rem;
  left: 1.5rem;
}

.message-mascot.br {
  bottom: 1.5rem;
  right: 1.5rem;
  transform: scaleX(-1);
}

.message-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.message-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input,
.form textarea {
  width: 100%;
  background: var(--penn-blue);
  border: 1px solid rgba(184, 65, 217, 0.25);
  border-radius: 4px;
  padding: 0.95rem 1.1rem;
  color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--steel-pink);
  box-shadow: 0 0 0 3px rgba(184, 65, 217, 0.2);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-send {
  align-self: center;
  margin-top: 0.75rem;
  min-width: 10rem;
  background: var(--steel-pink);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(184, 65, 217, 0.35);
}

.btn-send:hover {
  background: #c85ee6;
  box-shadow: 0 12px 36px rgba(184, 65, 217, 0.5);
}

.form-status {
  text-align: center;
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--steel-pink);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status.is-visible {
  opacity: 1;
}

.site-footer {
  padding: 1.5rem 8vw;
  text-align: center;
  background: var(--black);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  border-top: 1px solid rgba(184, 65, 217, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-title,
  .about-body {
    margin-left: auto;
    margin-right: auto;
  }

  .about-visual img {
    width: min(100%, 260px);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .message-mascot {
    opacity: 0.12;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.85rem 5vw;
  }

  .logo img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .logo-text .brand {
    font-size: 1.1rem;
  }

  .nav {
    gap: 1.1rem;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .hero-content {
    max-width: min(900px, 92vw);
  }

  .message-mascot.tl,
  .message-mascot.tr {
    display: none;
  }
}
