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

:root {
  --bg-main: #05060a;
  --bg-elevated: #0e1018;
  --bg-subtle: #111321;
  --accent: #52ffa8;
  --accent-soft: rgba(82, 255, 168, 0.12);
  --text-main: #f7f7ff;
  --text-muted: #a0a4c0;
  --danger: #ff4b6a;
  --border-soft: #262a3d;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #151830 0, #05060a 45%, #05060a 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.95), rgba(5, 6, 10, 0.8));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(82, 255, 168, 0.15);
}

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

.logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(82, 255, 168, 0.6);
  box-shadow: 0 0 18px rgba(82, 255, 168, 0.6);
}

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

.brand-title {
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(82, 255, 168, 0.35);
  background: rgba(14, 16, 24, 0.9);
}

.nav-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.main-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: rgba(5, 6, 10, 0.98);
  border-bottom: 1px solid rgba(82, 255, 168, 0.2);
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.1rem 1rem;
  gap: 0.4rem;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.main-nav.is-open {
  display: flex;
}

.page-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.4rem 1.1rem 2rem;
}

.page-header {
  margin: 0 0 1.5rem;
}

.page-header h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-muted);
  max-width: 36rem;
}

.hero {
  padding: 1.6rem 1.2rem;
  margin-bottom: 1.8rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(82, 255, 168, 0.18), transparent 55%),
              radial-gradient(circle at top right, rgba(104, 192, 255, 0.14), transparent 55%),
              linear-gradient(145deg, #05060a, #05060a);
  border: 1px solid rgba(82, 255, 168, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.12;
  margin-bottom: 0.6rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(82, 255, 168, 0.3);
  background: rgba(14, 16, 24, 0.95);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: #02040a;
  border-color: transparent;
}

.btn.ghost {
  background: transparent;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.grid.secondary {
  margin-top: 0.5rem;
}

.card {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #171a2f 0, #0c0f1e 55%, #070815 100%);
  border: 1px solid rgba(82, 255, 168, 0.18);
}

.card.subtle {
  background: rgba(12, 14, 24, 0.96);
  border-color: var(--border-soft);
}

.card h2, .card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

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

.mini-list {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0 0.2rem;
}

.mini-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.15rem;
}

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.resource-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0.5rem;
}

.resource-list li {
  padding: 0.55rem 0.2rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.resource-list h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.feature {
  padding: 1.1rem 1rem;
  margin-bottom: 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(82, 255, 168, 0.12), rgba(104, 192, 255, 0.08));
  border: 1px solid rgba(82, 255, 168, 0.4);
}

.feature-content p {
  color: var(--text-muted);
  max-width: 36rem;
}

.section {
  margin-bottom: 1.4rem;
  padding: 1.05rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 22, 0.98);
  border: 1px solid rgba(38, 42, 61, 0.9);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

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

.section .note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.blog-article p {
  line-height: 1.6;
}

.blog-article h2 {
  margin-top: 0.75rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.4rem 1.1rem 1.6rem;
  border-top: 1px solid rgba(38, 42, 61, 0.9);
  background: radial-gradient(circle at top, #171a2f 0, #05060a 55%, #05060a 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.footer-main h2 {
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
}

.footer-main p {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-main ul {
  padding-left: 1.1rem;
  margin: 0;
}

.footer-main li {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.footer-meta {
  border-top: 1px solid rgba(38, 42, 61, 0.9);
  padding-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta p {
  margin: 0.1rem 0;
}

.bmc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top, #f9c371, #f08a4b);
  color: #2b1700;
  font-weight: 600;
  font-size: 0.85rem;
}

.bmc-button:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 0.9rem;
    border-bottom: none;
    background: transparent;
    padding: 0;
  }

  .main-nav a {
    font-size: 0.86rem;
  }

  .page-wrapper {
    padding-top: 1.8rem;
  }

  .hero {
    padding: 2.1rem 2rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

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

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

  .footer-main {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}
