/* ===== DESIGN TOKENS ===== */
:root {
  --yellow: #FFD600;
  --yellow-hover: #F5C800;
  --black: #111111;
  --dark: #1A1A1A;
  --dark-nav: #1C1C1C;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #E8E8E8;
  --gray-text: #666666;
  --gray-text-light: #999999;
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(22px, 3vw, 38px); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(16px, 2vw, 22px); font-weight: 600; line-height: 1.4; }
p  { font-size: 15px; line-height: 1.8; color: var(--gray-text); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark-nav);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.navbar-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 32px;
  width: auto;
}
.navbar-logo .logo-text {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.navbar-logo .logo-text-img {
  height: 20px;
  width: auto;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar-links a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.navbar-links a:hover {
  color: var(--white);
}
.navbar-links a.active {
  color: var(--yellow);
  font-weight: 600;
}
.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.navbar-btn {
  background: var(--yellow);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.navbar-btn:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}
.navbar-btn svg {
  width: 16px; height: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-menu.open {
  opacity: 1;
}
.mobile-menu-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-mid);
  margin-bottom: 20px;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-menu-logo img { height: 28px; }
.mobile-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--black);
  cursor: pointer;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: var(--gray-light);
  color: var(--black);
  transition: var(--transition);
}
.mobile-menu-nav a.active {
  background: var(--yellow);
  color: var(--black);
}
.mobile-menu-nav a:hover:not(.active) {
  background: var(--gray-mid);
}

/* Page top padding */
.page-body { padding-top: 64px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-logo-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img { height: 28px; }
.footer-logo .logo-text {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}
.footer-info {
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,0.45);
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 24px 0 20px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 40px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title { font-size: clamp(24px, 3vw, 38px); font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 15px; color: var(--gray-text); text-align: center; margin-bottom: 48px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}
.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar-links { display: none; }
  .navbar-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .section { padding: 60px 20px; }
  .footer { padding: 40px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
