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

:root {
  --bg: #0d1218;
  --panel: #15212d;
  --panel-soft: #1a2a39;
  --line: rgba(175, 211, 255, 0.2);
  --ink: #ebf4ff;
  --muted: #a4b5c7;
  --accent: #36c4ff;
  --accent-text: #95ddff;
}

body {
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(54, 196, 255, 0.1), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 140, 66, 0.06), transparent 55%),
    linear-gradient(180deg, #090d12 0%, #070b10 100%);
  color: #f9fafb;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: rgba(149, 221, 255, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

a:hover {
  color: #c7efff;
  text-decoration-color: rgba(199, 239, 255, 0.75);
}

a:focus-visible {
  outline: 2px solid rgba(54, 196, 255, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(54, 196, 255, 0.35);
  color: var(--ink);
  text-decoration: none;
}

.btn.primary,
.button.primary {
  background: var(--accent);
  border-color: rgba(54, 196, 255, 0.4);
  color: #04131b;
  box-shadow: 0 8px 22px rgba(54, 196, 255, 0.18);
}

.btn.primary:hover,
.button.primary:hover {
  background: #66d4ff;
  color: #04131b;
}

.btn.secondary,
.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #d7e8f9;
}

.btn.secondary:hover,
.button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn.get-btn {
  background: linear-gradient(135deg, #7cff6b, #1ed760);
  color: #06130a;
  border-color: rgba(124, 255, 107, 0.85);
  font-weight: 900;
  letter-spacing: 0.04em;
  min-width: 64px;
  box-shadow: 0 6px 18px rgba(30, 215, 96, 0.28);
}

.btn.get-btn:hover {
  background: linear-gradient(135deg, #92ff81, #36e877);
  color: #06130a;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f9fafb;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: #f9fafb;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #9eb0c5;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: #f1f7ff; }

main {
  flex: 1;
  padding: 1.5rem;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .wrap,
  .nav-inner {
    max-width: 1320px;
  }
}

footer {
  text-align: center;
  padding: 1.5rem 2rem;
  color: #6b7280;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a { color: #6b7280; text-decoration: none; }

footer a:hover { color: #9ca3af; text-decoration: none; }

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0.85rem 0 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #c7d4e0;
  text-decoration: none;
}

.social-link:hover {
  color: #f4fbff;
  border-color: rgba(54, 196, 255, 0.28);
  background: rgba(54, 196, 255, 0.08);
  text-decoration: none;
}

.social-link svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}
