*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg-dark: #0a0b10;
  --bg-section: #12131a;
  --primary-cyan: #00f5d4;
  --primary-magenta: #ff006e;
  --accent-gradient: linear-gradient(135deg, #00f5d4 0%, #ff006e 100%);
  --text-primary: #e0e0e0;
  --text-secondary: #888899;
  --text-on-dark: #ffffff;
  --border-neon: 1px solid rgba(0, 245, 212, 0.3);
  --card-bg: rgba(18, 19, 26, 0.8);
  --hover-glow: #ff006e;
  --font-heading: 'Arial Black', 'Impact', sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-code: 'Courier New', monospace;
  --nav-width: 240px;
  --header-height-mobile: 56px;
  --transition-speed: 0.3s;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}
a:hover {
  color: var(--primary-cyan);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--primary-cyan);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.5);
  backdrop-filter: blur(4px);
  border-right: var(--border-neon);
  transition: background var(--transition-speed), backdrop-filter var(--transition-speed);
  display: flex;
  flex-direction: column;
}
.site-header[data-scrolled] {
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1rem;
  position: relative;
  overflow-y: auto;
}
.header-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 4px;
  height: 80px;
  background: var(--accent-gradient);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  opacity: 0.6;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.15);
}
.brand-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.6));
}
.brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.7), 0 0 20px rgba(0, 245, 212, 0.4);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 4px;
  z-index: 1100;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 1px;
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.header-nav {
  flex: 1;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-link {
  display: block;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: color var(--transition-speed), border-color var(--transition-speed), background var(--transition-speed);
  border-radius: 0 4px 4px 0;
}
.nav-link:hover {
  color: var(--primary-cyan);
  border-left-color: var(--primary-cyan);
  background: rgba(0, 245, 212, 0.05);
}
.nav-link[aria-current="page"] {
  color: var(--primary-magenta);
  border-left-color: var(--primary-magenta);
  background: rgba(255, 0, 110, 0.08);
  text-shadow: 0 0 8px rgba(255, 0, 110, 0.3);
}
.site-footer {
  background: var(--bg-section);
  border-top: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta)) 1;
  padding: 2rem 0 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}
.footer-logo:hover {
  color: var(--primary-cyan);
}
.footer-trust {
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-speed), border-color var(--transition-speed);
}
.footer-link:hover {
  color: var(--primary-cyan);
  border-bottom-color: var(--primary-cyan);
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.footer-copyright {
  color: var(--text-secondary);
}
.footer-icp {
  color: var(--text-secondary);
}
.footer-email {
  color: var(--text-secondary);
  font-family: var(--font-code);
  font-size: 0.75rem;
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    display: none;
  }
}
.main-content {
  flex: 1;
  margin-left: var(--nav-width);
  padding: 0;
  width: calc(100% - var(--nav-width));
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-section {
  padding: 3rem 0;
}
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.card {
  background: var(--card-bg);
  border: var(--border-neon);
  border-radius: 4px;
  padding: 1.5rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 245, 212, 0.1);
}
.btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--primary-cyan);
  background: transparent;
  color: var(--primary-cyan);
  cursor: pointer;
  transition: background var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
  border-radius: 2px;
  text-align: center;
}
.btn:hover {
  background: var(--primary-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
}
.btn-magenta {
  border-color: var(--primary-magenta);
  color: var(--primary-magenta);
}
.btn-magenta:hover {
  background: var(--primary-magenta);
  color: var(--text-on-dark);
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 0.8rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.breadcrumb a {
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover {
  color: var(--primary-cyan);
  border-bottom-color: var(--primary-cyan);
}
.breadcrumb span {
  color: var(--text-secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.5), 0 0 20px rgba(0, 245, 212, 0.2);
}
h2 {
  font-size: 1.8rem;
  border-left: 3px solid var(--primary-cyan);
  padding-left: 0.8rem;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}
code {
  font-family: var(--font-code);
  background: rgba(0, 245, 212, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-size: 0.9em;
  color: var(--primary-cyan);
}
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--primary-cyan), transparent);
  margin: 2rem 0;
  opacity: 0.4;
}
@media (max-width: 1023px) {
  .site-header {
    width: 100%;
    height: var(--header-height-mobile);
    flex-direction: row;
    background: rgba(10, 11, 16, 0.92);
    backdrop-filter: blur(6px);
    border-right: none;
    border-bottom: var(--border-neon);
  }
  .site-header[data-scrolled] {
    background: rgba(10, 11, 16, 0.98);
  }
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    height: 100%;
  }
  .header-inner::after {
    display: none;
  }
  .header-brand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .brand-text {
    font-size: 1rem;
  }
  .brand-icon {
    font-size: 1.4rem;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height-mobile));
    background: rgba(10, 11, 16, 0.98);
    backdrop-filter: blur(8px);
    transform: translateX(100%);
    transition: transform var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .header-nav[data-open] {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
  }
  .nav-link {
    font-size: 1.1rem;
    text-align: center;
    border-left: none;
    border-bottom: 1px solid transparent;
    padding: 0.8rem 0;
  }
  .nav-link:hover {
    border-left-color: transparent;
    border-bottom-color: var(--primary-cyan);
  }
  .nav-link[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--primary-magenta);
  }
  .main-content {
    margin-left: 0;
    width: 100%;
    padding-top: var(--header-height-mobile);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-trust {
    max-width: 100%;
  }
  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-info {
    align-items: center;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --nav-width: 200px;
  }
  .brand-text {
    font-size: 1.05rem;
  }
  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
}
