@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

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

:root {
  --primary: #ff8c42;
  --primary-dark: #e67630;
  --secondary: #ffd166;
  --bg: #fff8f0;
  --text: #2d3436;
  --text-light: #636e72;
  --white: #ffffff;
  --card-shadow: 0 8px 30px rgba(255, 140, 66, 0.12);
  --card-shadow-hover: 0 12px 40px rgba(255, 140, 66, 0.22);
  --radius: 16px;
  --gradient: linear-gradient(135deg, #ff8c42 0%, #ffd166 100%);
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'ZCOOL KuaiLe', 'Noto Sans SC', sans-serif;
  color: var(--text);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'ZCOOL KuaiLe', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--gradient);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

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

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

.btn-secondary {
  background: var(--gradient);
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.35);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-title .accent {
  color: var(--primary);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gradient);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  transition: color 0.3s;
}

.card-link:hover {
  color: var(--primary-dark);
}

/* Topic Tags */
.topic-section {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.topic-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.15);
}

.topic-tag .count {
  background: var(--gradient);
  color: var(--white);
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 700;
}

/* Timeline */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 36px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.timeline-date {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.93rem;
}

.timeline-year {
  text-align: center;
  margin: 40px 0 20px;
}

.timeline-year h3 {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 8px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.two-col-text p {
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.8;
}

.two-col-image img {
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Team / About */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-family: 'ZCOOL KuaiLe', sans-serif;
}

.team-member h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.team-member .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.team-member p {
  color: var(--text-light);
  font-size: 0.88rem;
}

/* Partner logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.partner-item {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--card-shadow);
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
}

.partner-item:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  background: #2d3436;
  color: #b2bec3;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'ZCOOL KuaiLe', sans-serif;
}

.footer-col p {
  line-height: 1.8;
  font-size: 0.92rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #b2bec3;
  transition: color 0.3s;
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
}

/* Page Banner */
.page-banner {
  background: var(--gradient);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.stat-number {
  font-family: 'ZCOOL KuaiLe', sans-serif;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  color: var(--text-light);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Featured */
.featured-section {
  background: var(--white);
}

/* Utility */
.text-center {
  text-align: center;
}
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Responsive */
@media (max-width: 960px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .section { padding: 60px 0; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 20px; text-align: left !important; left: 0 !important; }
  .timeline-item::before { left: 10px !important; right: auto !important; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 12px 18px; }
  .nav-toggle { display: block; }
  .page-banner h1 { font-size: 1.8rem; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { padding: 12px 28px; font-size: 0.92rem; }
  .section-title h2 { font-size: 1.6rem; }
}