:root {
  --bg-main: #030509;
  --bg-surface: #07111a;
  --line: #1c8ec8;
  --line-soft: rgba(28, 142, 200, 0.3);
  --text-main: #f2f6f9;
  --text-muted: #9fb2c2;
  --card: rgba(8, 19, 30, 0.88);
  --border: rgba(255, 255, 255, 0.11);
  --ok: #49d69d;
}

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

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, rgba(28, 142, 200, 0.2), transparent 42%),
    radial-gradient(circle at 85% 86%, rgba(28, 142, 200, 0.17), transparent 40%),
    linear-gradient(150deg, var(--bg-main), var(--bg-surface) 55%, #071a2a 100%);
  padding: clamp(18px, 2vw, 32px);
}

.site {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(8, 18, 29, 0.92), rgba(8, 17, 25, 0.82));
  backdrop-filter: blur(8px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(20px, 3.3vw, 34px) clamp(20px, 4.8vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: block;
}

.topbar img {
  width: min(420px, 70vw);
  display: block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #cae8fb;
  border: 1px solid rgba(28, 142, 200, 0.5);
  background: rgba(28, 142, 200, 0.12);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(73, 214, 157, 0.45);
  animation: heartbeat 1.8s ease-out infinite;
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px clamp(20px, 4.8vw, 52px) 0;
}

.main-nav a {
  text-decoration: none;
  color: #b7cbdb;
  border: 1px solid var(--border);
  background: rgba(8, 17, 26, 0.75);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #eaf6ff;
  border-color: rgba(28, 142, 200, 0.72);
  background: rgba(28, 142, 200, 0.14);
}

.page {
  padding: clamp(24px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.page h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.page p {
  color: var(--text-muted);
  line-height: 1.65;
}

.page + .page {
  border-top: 1px solid var(--line-soft);
}

.grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--card);
}

.card h2,
.card h3 {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
  color: #dcf2ff;
  text-transform: uppercase;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.card li {
  color: #adc0ce;
  line-height: 1.45;
  font-size: 0.92rem;
  padding-left: 12px;
  position: relative;
}

.card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ab5ea;
  position: absolute;
  left: 0;
  top: 9px;
}

.btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid rgba(28, 142, 200, 0.7);
  background: rgba(28, 142, 200, 0.14);
  color: #e6f4ff;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn.secondary {
  border-color: var(--border);
  background: rgba(8, 17, 26, 0.8);
  color: #b6cad9;
}

.btn.disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  font-size: 0.88rem;
  color: #cadeec;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 6px;
  background: rgba(5, 14, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #f2f6f9;
  padding: 10px;
  font-family: inherit;
}

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

footer {
  padding: 20px clamp(20px, 4.8vw, 52px) 28px;
  color: #8fa8b9;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes heartbeat {
  0% { box-shadow: 0 0 0 0 rgba(73, 214, 157, 0.46); }
  100% { box-shadow: 0 0 0 11px rgba(73, 214, 157, 0); }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
