@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Comic+Neue:wght@300;400;700&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #000;
  color: #00ff80;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body.brutalist-body {
  font-family: 'Baloo 2', 'Comic Neue', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #000000;
  color: #00ff80;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 64px;
}

a {
  color: #00ff80;
  text-decoration: none;
}

a:hover, a:focus {
  color: #000;
  background: #00ff80;
  outline: 3px solid #0000ff;
}

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

ul, ol { list-style: none; }

hr {
  border: none;
  border-top: 3px solid #0000ff;
  margin: 12px 0 20px;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #00ff80;
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site-wrapper {
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-block {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid #00ff80;
  scroll-margin-top: 0;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.hero-bg-text {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: clamp(100px, 25vw, 260px);
  font-weight: 700;
  color: rgba(0, 255, 128, 0.07);
  font-family: 'Baloo 2', system-ui, sans-serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 20px;
  max-width: 800px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #000;
  background: #00ff80;
  border: 2px solid #0000ff;
  padding: 4px 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-h1 {
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 700;
  color: #00ff80;
  margin-bottom: 16px;
  text-shadow: 4px 4px 0 #0000ff;
  border-left: 6px solid #0000ff;
  padding-left: 16px;
  text-align: left;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(0, 255, 128, 0.8);
  margin-bottom: 28px;
  text-align: left;
}

.hero-cta {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  background: #00ff80;
  border: 3px solid #0000ff;
  padding: 14px 40px;
  cursor: pointer;
  transition: none;
  text-decoration: none;
  min-height: 48px;
  line-height: 1.4;
}

.hero-cta:hover, .hero-cta:focus {
  background: #0000ff;
  color: #00ff80;
  border-color: #00ff80;
  outline: none;
}

/* ============================================================
   MAIN WRAP + ARTICLE LAYOUT
   ============================================================ */
.main-wrap {
  width: 100%;
  background: #000;
  border-bottom: 4px solid #00ff80;
}

.content-article {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  gap: 0;
}

/* ASIDE — left side */
.content-aside {
  width: 220px;
  min-width: 180px;
  flex-shrink: 0;
  border: 3px solid #0000ff;
  padding: 20px 16px;
  margin-right: 40px;
  position: sticky;
  top: 80px;
  background: #000;
}

.aside-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0000ff;
  background: #00ff80;
  padding: 4px 8px;
  margin-bottom: 14px;
  display: block;
}

.aside-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #00ff80;
  padding: 8px 10px;
  border: 2px solid transparent;
  min-height: 40px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.aside-link:hover, .aside-link:focus {
  color: #000;
  background: #00ff80;
  border-color: #0000ff;
  outline: none;
}

.aside-badge {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  background: #0000ff;
  padding: 6px 10px;
  text-align: center;
  border: 2px solid #00ff80;
}

/* CONTENT SECTION */
.content-section {
  flex: 1;
  min-width: 0;
}

.section-intro-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00ff80;
  border-bottom: 4px solid #0000ff;
  padding-bottom: 8px;
  margin-bottom: 0;
}

/* PAGE CONTENT BODY */
.page-content-body {
  color: #e0ffe0;
  font-size: 16px;
  line-height: 1.7;
}

.page-content-body div {
  margin-bottom: 48px;
  border-left: 4px solid #0000ff;
  padding-left: 20px;
  scroll-margin-top: 80px;
}

.page-content-body h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: #00ff80;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 #0000ff;
}

.page-content-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00ff80;
  margin: 16px 0 8px;
  border-bottom: 2px dashed #0000ff;
  padding-bottom: 4px;
}

.page-content-body p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
}

.page-content-body ul,
.page-content-body ol {
  margin: 10px 0 16px 16px;
}

.page-content-body ul li,
.page-content-body ol li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  padding-left: 18px;
}

.page-content-body ul li::before {
  content: '▶';
  color: #00ff80;
  position: absolute;
  left: 0;
  font-size: 10px;
  top: 4px;
}

.page-content-body ol {
  list-style: decimal;
}

.page-content-body ol li::before {
  display: none;
}

.page-content-body a {
  color: #00ff80;
  border-bottom: 2px solid #0000ff;
  padding-bottom: 1px;
}

.page-content-body a:hover,
.page-content-body a:focus {
  color: #000;
  background: #00ff80;
  border-bottom-color: #000;
  outline: 2px solid #0000ff;
}

.page-content-body img {
  max-width: 100%;
  border: 3px solid #0000ff;
  margin: 16px 0;
}

.page-content-body strong {
  color: #fff;
  font-weight: 700;
}

.page-content-body hr {
  border-top: 2px solid #0000ff;
  margin: 24px 0;
}

/* SCROLL REVEAL */
.page-content-body div {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-content-body div.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-content-body div {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000;
  border-top: 4px solid #00ff80;
  padding-bottom: 72px;
}

.footer-contact-section {
  border-bottom: 3px solid #0000ff;
  padding: 32px 24px 28px;
}

.footer-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-brand-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  background: #00ff80;
  padding: 6px 18px;
  border: 2px solid #0000ff;
  white-space: nowrap;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-contact-link {
  font-size: 14px;
  color: #00ff80;
  border: 2px solid #0000ff;
  padding: 6px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  background: #0000ff;
  color: #00ff80;
  outline: none;
}

.footer-slogan {
  font-size: 13px;
  color: rgba(0, 255, 128, 0.6);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

/* Footer nav div */
.footer-nav-section {
  border-bottom: 3px solid #0000ff;
  padding: 24px;
}

.footer-nav {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-dl dt {
  display: block;
}

.footer-dl dt a.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #00ff80;
  border: 2px solid #0000ff;
  padding: 6px 14px;
  white-space: nowrap;
}

.footer-dl dt a.nav-link:hover,
.footer-dl dt a.nav-link:focus {
  background: #00ff80;
  color: #000;
  border-color: #000;
  outline: none;
}

/* Footer copy div */
.footer-copy-section {
  padding: 16px 24px;
}

.footer-copy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(0, 255, 128, 0.5);
}

.copy-sep { color: #0000ff; }

/* ============================================================
   BOTTOM NAV BAR (固定在底部)
   ============================================================ */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #000;
  border-top: 3px solid #00ff80;
  display: flex;
  align-items: center;
  z-index: 1000;
  gap: 0;
}

.bottom-nav-brand {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  border-right: 2px solid #0000ff;
  flex-shrink: 0;
}

.bottom-brand-text {
  font-size: 14px;
  font-weight: 700;
  color: #00ff80;
  white-space: nowrap;
}

.bottom-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bottom-nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  overflow-x: auto;
  height: 100%;
  scrollbar-width: none;
}

.bottom-nav-links::-webkit-scrollbar {
  display: none;
}

.bottom-nav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 100%;
  padding: 0 10px;
  color: rgba(0, 255, 128, 0.75);
  font-size: 12px;
  font-weight: 600;
  border-right: 1px solid rgba(0, 255, 128, 0.15);
  white-space: nowrap;
  min-height: 40px;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus {
  background: rgba(0, 255, 128, 0.1);
  color: #00ff80;
  outline: 2px solid #0000ff;
}

.bnav-label {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.bottom-nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 22px;
  background: #00ff80;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  border-left: 3px solid #0000ff;
  min-height: 40px;
  white-space: nowrap;
}

.bottom-nav-cta:hover,
.bottom-nav-cta:focus {
  background: #0000ff;
  color: #00ff80;
  outline: 2px solid #00ff80;
}

/* ============================================================
   SECTION SCROLL MARGINS (for fixed nav)
   ============================================================ */
div[id] {
  scroll-margin-top: 68px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-h1 {
    font-size: clamp(1.6rem, 8vw, 2.8rem);
    border-left-width: 4px;
    padding-left: 10px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .content-article {
    flex-direction: column;
    padding: 24px 12px 40px;
    gap: 0;
  }

  .content-aside {
    width: 100%;
    min-width: 0;
    position: static;
    margin-right: 0;
    margin-bottom: 28px;
  }

  .aside-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .aside-link {
    font-size: 12px;
    padding: 6px 10px;
    min-height: 40px;
  }

  .footer-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-dl {
    gap: 6px;
  }

  .bottom-nav-brand {
    padding: 0 10px;
  }

  .bottom-brand-text {
    font-size: 12px;
  }

  .bnav-label {
    font-size: 10px;
  }

  .bottom-nav-item {
    padding: 0 8px;
    min-width: 44px;
  }

  .bottom-nav-cta {
    padding: 0 16px;
    font-size: 14px;
  }

  .page-content-body div {
    border-left-width: 3px;
    padding-left: 14px;
  }

  .hero-bg-text {
    font-size: clamp(70px, 30vw, 140px);
  }
}

@media (max-width: 480px) {
  body.brutalist-body {
    font-size: 16px;
  }

  .footer-copy-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .copy-sep { display: none; }

  .footer-contact-section {
    padding: 20px 16px;
  }

  .footer-nav-section {
    padding: 16px;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

button[aria-expanded]{min-width:44px;min-height:44px}
