@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #192617;
  color: #f0ffe8;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: #87ff71;
  text-decoration: none;
}

a:hover {
  color: #ffce5c;
}

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

ul {
  list-style: none;
}

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: #87ff71;
  color: #192617;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 200;
}

.announce-text {
  display: inline-block;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: #192617;
  border-bottom: 3px solid #87ff71;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
  min-height: 64px;
}

.header-nav-left,
.header-nav-right {
  display: flex;
  align-items: center;
}

.header-nav-right {
  justify-content: flex-end;
  gap: 8px;
}

.header-nav-left aside nav ul,
.header-nav-right nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.header-nav-left aside nav ul li a,
.header-nav-right nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f0ffe8;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.header-nav-left aside nav ul li a:hover,
.header-nav-right nav ul li a:hover {
  color: #87ff71;
  background: rgba(135,255,113,0.08);
}

.header-brand {
  text-align: center;
}

.header-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
}

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

.brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #87ff71;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid #87ff71;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #87ff71;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== OVERLAY MENU ===== */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #192617;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

.overlay-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.overlay-inner {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 60px 40px;
  z-index: 1;
}

.overlay-deco {
  position: absolute;
  pointer-events: none;
}

.overlay-deco.tri-1 {
  top: -20px;
  right: -40px;
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid #87ff71;
  opacity: 0.18;
  transform: rotate(25deg);
}

.overlay-deco.tri-2 {
  bottom: 0;
  left: -60px;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 140px solid #ffce5c;
  opacity: 0.22;
  transform: rotate(-15deg);
}

.overlay-deco.zz-1 {
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: repeating-linear-gradient(
    45deg,
    #87ff71 0px,
    #87ff71 3px,
    transparent 3px,
    transparent 10px
  );
  opacity: 0.3;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 2px solid #ffce5c;
  color: #ffce5c;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.menu-close:hover {
  background: #ffce5c;
  color: #192617;
}

.overlay-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlay-nav ul li {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.overlay-menu.is-open .overlay-nav ul li {
  transform: translateX(0);
  opacity: 1;
}

.overlay-menu.is-open .overlay-nav ul li:nth-child(1) { transition-delay: 0.05s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(2) { transition-delay: 0.1s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(3) { transition-delay: 0.15s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(4) { transition-delay: 0.2s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(5) { transition-delay: 0.25s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(6) { transition-delay: 0.3s; }
.overlay-menu.is-open .overlay-nav ul li:nth-child(7) { transition-delay: 0.35s; }

.overlay-link {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #f0ffe8;
  line-height: 1.2;
  padding: 10px 0;
  letter-spacing: -0.01em;
  min-height: 44px;
  transition: color 0.2s, padding-left 0.2s;
}

.overlay-link:hover {
  color: #87ff71;
  padding-left: 16px;
}

.overlay-brand {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 60px 40px 60px;
  overflow: hidden;
  scroll-margin-top: 64px;
  background: #192617;
}

.hero-bg-text {
  position: absolute;
  bottom: -10px;
  left: -20px;
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  line-height: 1;
  color: rgba(135,255,113,0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hs {
  position: absolute;
}

.hs-tri-a {
  top: 10%;
  left: 5%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #87ff71;
  opacity: 0.7;
  animation: float-a 6s ease-in-out infinite;
}

.hs-tri-b {
  top: 40%;
  left: 20%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 52px solid #ffce5c;
  opacity: 0.5;
  transform: rotate(20deg);
  animation: float-b 8s ease-in-out infinite;
}

.hs-circ-a {
  top: 15%;
  left: 40%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffce5c;
  opacity: 0.25;
  animation: float-a 7s ease-in-out infinite reverse;
}

.hs-circ-b {
  bottom: 20%;
  left: 30%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #87ff71;
  opacity: 0.5;
  animation: float-b 5s ease-in-out infinite;
}

.hs-rect-a {
  top: 60%;
  left: 10%;
  width: 50px;
  height: 50px;
  background: #ffce5c;
  opacity: 0.3;
  transform: rotate(30deg);
  animation: spin-slow 12s linear infinite;
}

.hs-zz {
  top: 25%;
  left: 55%;
  width: 80px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #87ff71 0,
    #87ff71 10px,
    transparent 10px,
    transparent 20px
  );
  opacity: 0.6;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(20deg); }
  50% { transform: translateY(-12px) rotate(25deg); }
}

@keyframes spin-slow {
  from { transform: rotate(30deg); }
  to { transform: rotate(390deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  background: #87ff71;
  color: #192617;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f0ffe8;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(240,255,232,0.75);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #87ff71;
  color: #192617;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s;
  min-height: 48px;
}

.hero-cta:hover {
  background: #ffce5c;
  color: #192617;
  transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

main > section {
  width: 100%;
}

main > section > article.content-section {
  width: 100%;
}

/* ===== PAGE CONTENT SECTIONS ===== */
.content-section article,
.content-section > article {
  scroll-margin-top: 80px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(135,255,113,0.15);
}

.content-section article:last-child {
  border-bottom: none;
}

/* h2 styling in content */
.content-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #87ff71;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 20px;
}

.content-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #ffce5c;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.content-section p.subtitle,
.content-section p.subhead,
.content-section p.desc,
.content-section p.lead {
  font-size: 0.95rem;
  color: rgba(240,255,232,0.65);
  margin-bottom: 24px;
  font-style: italic;
}

.content-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffce5c;
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240,255,232,0.88);
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  margin: 16px 0 20px 20px;
}

.content-section ul li,
.content-section ol li {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240,255,232,0.88);
  margin-bottom: 8px;
  list-style: disc;
}

.content-section ol li {
  list-style: decimal;
}

.content-section a {
  color: #87ff71;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-section a:hover {
  color: #ffce5c;
}

.content-section strong {
  color: #f0ffe8;
  font-weight: 700;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.content-section th {
  background: #87ff71;
  color: #192617;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
}

.content-section td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(135,255,113,0.15);
  color: rgba(240,255,232,0.85);
}

.content-section tr:hover td {
  background: rgba(135,255,113,0.05);
}

/* Cards in content */
.content-section .card,
.content-section [class*="card"] {
  background: rgba(135,255,113,0.08);
  border-left: 4px solid #87ff71;
  padding: 20px 24px;
  margin-bottom: 16px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0e1a0c;
  border-top: 3px solid #87ff71;
  padding: 20px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #87ff71;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.footer-nav a {
  font-size: 0.78rem;
  color: rgba(240,255,232,0.55);
  font-weight: 500;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #87ff71;
}

.footer-copy small {
  font-size: 0.72rem;
  color: rgba(240,255,232,0.35);
}

/* ===== MEMPHIS PATTERN BG ===== */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(135,255,113,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-nav-left aside nav,
  .header-nav-right nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 16px;
  }

  .header-brand {
    text-align: left;
  }

  .header-nav-right {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 70vh;
    padding: 40px 20px 40px;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    text-align: right;
    max-width: 100%;
  }

  .hero-h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  main {
    padding: 0 16px 40px;
  }

  .content-section article {
    padding: 40px 0;
  }

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

  .footer-nav {
    gap: 4px 12px;
  }

  .overlay-link {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .overlay-inner {
    padding: 60px 24px;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 375px) {
  .header-inner {
    min-height: 56px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

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