@charset "UTF-8";

:root {
  --primary: #14B8A6;
  --secondary: #D97706;
  --accent: #7C3AED;
  --bg-dark: #F0FDF4;
  --bg-light: rgba(0,0,0,0.04);
  --text-main: #1C1917;
  --text-muted: #78716C;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "SimSun", "STSong", serif;
  margin: 0;
  line-height: 1.3;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 253, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.15);
  transition: box-shadow 0.3s ease;
}

.nav-bar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(240, 253, 244, 0.98);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  padding: 1rem 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 1.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary), #0D9488);
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--secondary), #B45309);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent);
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

.card-solid {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-solid:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.15);
}

.card-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card-glass:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.card-border {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.3s ease;
}

.card-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-border:hover::before {
  opacity: 1;
}

.card-border:hover {
  transform: translateY(-4px);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-primary {
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary);
}

.tag-secondary {
  background: rgba(217, 119, 6, 0.12);
  color: var(--secondary);
}

.tag-accent {
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
}

.cloud-bg {
  position: relative;
  overflow: hidden;
}

.cloud-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 1.25rem 1.5rem;
}

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

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: 12px;
}

.contact-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 0.75rem;
}

.contact-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 375px) {
  body {
    overflow-x: hidden;
  }
  .nav-inner {
    padding: 0 1rem;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .contact-item img {
    width: 64px;
    height: 64px;
  }
}
