:root {
  --color-primary: #4A5568;
  --color-primary-light: #6B7280;
  --color-primary-lighter: #9CA3AF;
  --color-accent: #8B5CF6;
  --color-accent-light: #A78BFA;
  --color-accent-dark: #7C3AED;
  --color-bg: #F5F6F8;
  --color-bg-white: #FFFFFF;
  --color-bg-dark: #0B1D33;
  --color-text: #2C3E50;
  --color-text-light: #8B95A5;
  --color-text-white: #E8ECF1;
  --color-text-white-muted: #8B9AB5;
  --color-border: #E2E6EC;
  --color-border-dark: #1E3A5F;
  --color-success: #27AE60;
  --color-overlay: rgba(11, 29, 51, 0.85);
  --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(11, 29, 51, 0.06);
  --shadow-md: 0 4px 20px rgba(11, 29, 51, 0.1);
  --shadow-lg: 0 8px 40px rgba(11, 29, 51, 0.15);
  --shadow-xl: 0 16px 60px rgba(11, 29, 51, 0.2);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --nav-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
}

.section-light {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.section-dark .section-title {
  color: var(--color-text-white);
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark .section-desc {
  color: var(--color-text-white-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #FF6B35 0%, #F7C59F 100%);
  color: #FFFFFF;
  font-weight: 600;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #FF8C5A 0%, #FFD4B8 100%);
  transform: translateY(-2px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.navbar.scrolled {
  background: rgba(11, 29, 51, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo svg {
  width: 40px;
  height: 40px;
}

.nav-logo-text {
  font-family: var(--font-cn);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-white);
  letter-spacing: 1px;
}

.nav-logo-sub {
  font-size: 11px;
  color: var(--color-accent);
  letter-spacing: 1px;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFFFFF;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu .nav-link {
  font-size: 22px;
  color: var(--color-text-white);
}

.footer {
  background: var(--color-primary);
  color: var(--color-text-white-muted);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-white-muted);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-text {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 2px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-white-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--color-accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--color-text-white-muted);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #C8A96E 100%);
  opacity: 0.9;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 18px;
  color: var(--color-text-white-muted);
  max-width: 560px;
  margin: 0 auto;
}

.page-hero .geometric-line {
  position: absolute;
  background: linear-gradient(135deg, var(--color-accent), transparent);
  opacity: 0.1;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 20px auto;
  border-radius: 2px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 34px;
  }
  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 30px;
  }
  .section-desc {
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .page-hero {
    min-height: 340px;
  }
  .page-hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 26px;
  }
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .page-hero {
    min-height: 280px;
  }
  .page-hero-title {
    font-size: 28px;
  }
  .page-hero-desc {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  :root {
    --nav-height: 64px;
  }
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 22px;
  }
  .page-hero-title {
    font-size: 24px;
  }
}
