﻿:root {
  --bg: #0c1020;
  --surface: rgba(20, 26, 48, 0.94);
  --surface-strong: rgba(18, 24, 44, 0.98);
  --text: #e8ebf7;
  --muted: #9aa7c7;
  --accent: #8ab4f8;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  user-select: none;
  word-break: break-all;
}

html {
  scroll-behavior: smooth;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #090c16;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 40px 24px;
  background: radial-gradient(circle at top left, rgba(138, 180, 248, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(123, 92, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #0b0f1e 0%, #0d1222 32%, #10172b 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero {
  background: rgba(18, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px;
}

.hero__headline {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.02;
  margin: 0 0 16px;
  text-align: center;
}

.hero__text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 760px;
  text-align: center;
}

.search-panel {
  display: grid;
  gap: 16px;
}

.search-input {
  width: 100%;
  padding: 18px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.search-input:focus {
  border-color: rgba(138, 180, 248, 0.7);
  box-shadow: 0 0 0 6px rgba(138, 180, 248, 0.12);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 26px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  color: #08101f;
  background: linear-gradient(135deg, #8ab4f8 0%, #6fa8ff 100%);
  box-shadow: 0 16px 32px rgba(29, 96, 204, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(29, 96, 204, 0.28);
}

.card-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: rgba(14, 18, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.card__title {
  margin: 0 0 12px;
  font-size: 1.28rem;
  text-align: center;
}

.card__body {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
}

.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
  user-select: text;
}

.footer {
  color: rgba(230, 235, 250, 0.62);
  text-align: center;
  padding: 16px 0 6px;
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  body {
    padding: 24px 16px;
  }

  .hero {
    padding: 28px;
  }
}
