:root {
  --bg: #020d18;
  --bg-2: #071b2a;
  --panel: rgba(11, 24, 37, 0.92);
  --panel-2: rgba(16, 30, 43, 0.96);
  --line: rgba(138, 168, 192, 0.2);
  --line-strong: rgba(138, 168, 192, 0.35);
  --text: #edf7ff;
  --muted: #b9cfe6;
  --muted-2: #8aa4bd;
  --blue: #1bb8ff;
  --blue-2: #2cc9f5;
  --green: #71f3cf;
  --green-2: #83f3d7;
  --success: #48e7a8;
  --danger: #ff8686;
  --shadow: 0 24px 60px rgba(3, 12, 20, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, rgba(27, 184, 255, 0.08), transparent 20%), #020d18;
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: rgba(4, 14, 24, 0.94);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 140px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

.nav a:hover,
.nav a.active {
  color: var(--text);
  text-decoration: none;
}

.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #04151d;
  font-weight: 800;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.931);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.mobile-header-cta {
  display: none;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.menu-toggle span {
  margin: 4px 0;
}

.menu-toggle.active::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span {
  opacity: 0;
}

.menu-toggle.active::after {
  transform: translateY(-6px) rotate(-45deg);
}

.secondary-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 17, 23, 0.7);
}

.secondary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  flex-wrap: wrap;
}

.pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.seo-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(72, 231, 168, 0.8);
}

.keyword-box {
  color: var(--muted);
  font-size: 0.92rem;
}

.keyword-box strong {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 60px;
  border-top: 1px solid var(--line);
  background: rgba(8, 18, 28, 0.6);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text);
  text-decoration: underline;
}

.footer-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #04151d;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.mobile-footer {
  display: none;
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-wrap: nowrap;
    padding: 10px 0;
    justify-content: space-between;
  }

  .brand-wrap {
    margin: 0;
  }

  .brand-logo {
    width: 110px;
  }

  .nav,
  .nav.open,
  .menu-toggle {
    display: none !important;
  }

  .mobile-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: #04151d;
    font-weight: 700;
    margin-left: auto;
    text-decoration: none;
  }

  .secondary-bar {
    display: none;
  }

  .mobile-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 14px;
    background: rgba(3, 10, 18, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    min-width: 82px;
  }

  .mobile-brand img {
    width: 68px;
  }

  .mobile-page-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.72rem;
  }

  .mobile-page-links a {
    color: var(--muted);
    text-decoration: none;
  }

  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: #04151d;
    font-weight: 800;
    text-decoration: none;
  }

  .site-footer {
    padding-bottom: 110px;
  }

  .footer-floating {
    display: none;
  }
}
