/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== CSS Variables ===== */
:root {
  --orange: #FF6B00;
  --orange-light: #FF8A33;
  --orange-dark: #E55D00;
  --orange-glow: rgba(255, 107, 0, 0.15);
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-bg: #f7f7f7;
  --gray-text: #999;
  --nav-height: 72px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav--transparent {
  background: transparent;
}
.nav--solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
}
.nav--transparent .nav-logo span { color: var(--white); }
.nav--transparent .nav-links a { color: rgba(255, 255, 255, 0.85); }
.nav--solid .nav-logo span { color: var(--black); }
.nav--solid .nav-links a { color: #666; }
.nav--solid .menu-toggle span { background: var(--black); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}
.nav-logo span {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  transition: color 0.4s;
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--orange) !important; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange) !important; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 1px;
}

/* ===== Sub Page Header ===== */
.page-header {
  position: relative;
  padding-top: var(--nav-height);
  background: var(--black);
  overflow: hidden;
}
.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px 70px;
  position: relative;
  z-index: 2;
}
.page-header-bg {
  position: absolute;
  top: -60px;
  right: -40px;
  font-size: clamp(140px, 20vw, 300px);
  font-weight: 900;
  color: rgba(255, 107, 0, 0.04);
  letter-spacing: 10px;
  pointer-events: none;
  white-space: nowrap;
}
.page-header .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.page-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  letter-spacing: 1px;
}

/* ===== Section Common ===== */
.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  padding: 36px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 6px;
}
.footer-logo span {
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .page-header-inner { padding: 60px 32px 50px; }
  .section-content { padding: 60px 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    font-size: 20px;
    color: var(--white) !important;
  }
  .menu-toggle { display: flex; }
  .page-header-inner { padding: 48px 20px 40px; }
  .section-content { padding: 48px 20px; }
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 28px 20px;
  }
}
