:root {
  --bg-color: #f1f5f9;
  --container-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.main-wrapper {
  width: 100%;
  max-width: 1200px;
  background: var(--container-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0;
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-color);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  display: flex;
  padding: 60px 40px 100px 40px;
  position: relative;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
  color: #0f172a;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-glow {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  position: relative;
  right: -40px;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  object-fit: cover;
  box-shadow: -15px 15px 40px rgba(0,0,0,0.1);
}

/* Features Bar */
.features-bar {
  display: flex;
  justify-content: space-between;
  margin: -50px 40px 40px 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.icon-box {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* News Section */
.news-section {
  padding: 40px 40px 80px 40px;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
}

.decorator {
  color: #3b82f6;
  margin: 0 8px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-color: #e2e8f0;
}

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

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

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

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card:hover .read-more {
  gap: 8px;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px 80px 20px;
  }
  .hero-image {
    right: 0;
  }
  .hero-image img {
    border-radius: 20px;
  }
  .features-bar {
    flex-direction: column;
    gap: 24px;
    margin: -40px 20px 40px 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
