* {
  box-sizing: border-box;
}

:root {
  --bg: #090909;
  --panel: rgba(8, 8, 8, 0.82);
  --panel-2: rgba(15, 15, 15, 0.88);
  --text: #f5f5f5;
  --muted: #cfcfcf;
  --red: #d31111;
  --red-dark: #7f0a0a;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(211,17,17,0.28) 0%, rgba(211,17,17,0.08) 28%, rgba(0,0,0,0) 58%),
    linear-gradient(180deg, #160909 0%, #050505 100%);
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar .brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  gap: 18px;
}

.topbar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
}

.hero-inner {
  width: 100%;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 24px 36px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(720px, 100%);
  height: auto;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 14px 36px rgba(211,17,17,0.35));
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  width: min(720px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.04);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border-color: rgba(255,255,255,0.08);
}

.panel,
.cards {
  margin-top: 24px;
}

.panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel h2,
.cards h2 {
  margin-top: 0;
}

.panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel a {
  color: #ffb6b6;
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #bdbdbd;
  padding: 6px 20px 28px;
}

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

@media (max-width: 640px) {
  .topbar {
    padding: 14px 16px;
    flex-direction: column;
    gap: 10px;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .hero-inner,
  .panel,
  .card {
    border-radius: 18px;
  }

  .hero-inner {
    padding: 20px 16px 28px;
  }
}
