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

:root {
  --bg: #050d18;
  --bg-elevated: #081425;
  --bg-soft: #0d1c30;
  --accent: #e53935;
  --accent-soft: rgba(229, 57, 53, 0.14);
  --text-main: #f5f7ff;
  --text-muted: #9aa3c2;
  --border-subtle: rgba(154, 163, 194, 0.22);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.38);
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #0b1830, #02060c);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 13, 24, 0.96), rgba(5, 13, 24, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 6vw;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.brand-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 4px;
}

main {
  padding: 2.5rem 6vw 3.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
}

.hero-body {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.pill {
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.16), rgba(8, 20, 37, 0.9));
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-card {
  background: radial-gradient(circle at top right, rgba(229, 57, 53, 0.23), rgba(8, 20, 37, 0.98));
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(145deg, rgba(3, 8, 18, 0.96), rgba(10, 20, 38, 0.96));
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-subtle);
}

.hud-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.45rem 0.35rem;
  border-radius: 12px;
  background: rgba(3, 9, 20, 0.9);
  border: 1px solid rgba(154, 163, 194, 0.18);
  margin-bottom: 0.55rem;
}

.hud-row span:first-child {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hud-row .value {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  color: var(--accent);
}

.hud-footnote {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.section {
  margin-bottom: 3.5rem;
  padding: 1.8rem 1.8rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(12, 30, 60, 0.6), rgba(7, 15, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-subtle);
}

.section-heading h2 {
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-body {
  margin-top: 1.4rem;
  font-size: 0.94rem;
}

.legal-text h3 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

.legal-text p {
  margin: 0.4rem 0;
  color: var(--text-muted);
}

.legal-text ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0;
  color: var(--text-muted);
}

.section-contact {
  background: radial-gradient(circle at bottom right, rgba(229, 57, 53, 0.16), rgba(7, 15, 30, 0.98));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
}

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

.support-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.support-form textarea,
.support-form input {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(4, 11, 22, 0.9);
  padding: 0.6rem 0.7rem;
  color: var(--text-main);
  font: inherit;
  resize: vertical;
}

.support-form textarea:focus,
.support-form input:focus {
  outline: 1px solid rgba(229, 57, 53, 0.7);
  border-color: rgba(229, 57, 53, 0.7);
}

.btn-primary {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at top left, #f44a41, #c82629);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-card {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(6, 14, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  color: var(--text-main);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 6vw 1.6rem;
  background: radial-gradient(circle at top, rgba(7, 17, 34, 0.96), rgba(2, 5, 11, 1));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .section {
    padding: 1.4rem 1.2rem;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 0.65rem 6vw 0.9rem;
    background: radial-gradient(circle at top, rgba(5, 13, 24, 0.98), rgba(5, 13, 24, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    gap: 0.6rem;
  }

  .main-nav.nav-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  main {
    padding: 1.8rem 6vw 3rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
