* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Bounded';
  src: url('../fonts/Bounded-Variable.ttf') format('truetype');
  font-weight: 200 900;          /* диапазон весов от ExtraLight до Black */
  font-style: normal;
  font-display: swap;            /* чтобы текст не прыгал при загрузке */
}

body {
  font-family: 'Bounded', system-ui, -apple-system;
  background: linear-gradient(135deg, #e9e9ec 0%, #7f7f86 100%);
  color: #243061;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.08;
  z-index: -2;
  pointer-events: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ────────────────────────────────────────────────
   Header
───────────────────────────────────────────────── */
header {
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 23, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Резиновый логотип */
.logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
}


/* Чуть компактнее на телефонах */
/*@media (max-width: 480px) {
  .logo img {
    width: 160px;
    max-height: 88px;
  }

  .logo span {
    font-size: 1.20rem;
  }
}

.logo span {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.4px;
}*/

/* ────────────────────────────────────────────────
   Main content
───────────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  text-align: center;
}

.content {
  max-width: 760px;
  width: 100%;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.4rem;
  background: linear-gradient(90deg, #1c172c, #1a5e7d, #6441ce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient 8s ease infinite;
}

@keyframes gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 2.8rem;
  color: #243061;
  opacity: 0.9;
}

form {
  max-width: 500px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

input,
textarea {
  padding: 1rem 1.3rem;
  font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: white;
  backdrop-filter: blur(8px);
  transition: all 0.22s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18);
}

button {
  padding: 1.05rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.28s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.32);
}

/* ────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────── */
footer {
  padding: 2rem 5%;
  text-align: center;
  font-size: 0.94rem;
  color: #8892b0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,15,23,0.45);
}

footer a {
  color: #a78bfa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ────────────────────────────────────────────────
   Адаптивность (медиа-запросы)
───────────────────────────────────────────────── */
/*@media (max-width: 768px) {
  header {
    padding: 1.2rem 6%;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo span {
    font-size: 1.6rem;
  }

 
  h1 {
    font-size: clamp(2.8rem, 10vw, 4.2rem);
  }

  .subtitle {
    font-size: 1.2rem;
  }

  form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem 6%;
  }

  header {
    padding: 1rem 6%;
  }

  .logo img {
    height: 80px;
  }

  button {
    padding: 0.95rem;
  }
}*/

html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
