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

body {
  font-family: 'Roboto', 'Product Sans', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #3c4043;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

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

/* Header */
header {
  padding: 16px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.8;
}

.nav-links a {
  margin-left: 40px;
  text-decoration: none;
  color: #5f6368;
  font-weight: 400;
  font-size: 14px;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: #202124;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1a73e8;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 400px;
}

.hero-image {
  flex: 1;
  min-width: 400px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image img:hover {
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3), 0 8px 16px 4px rgba(60,64,67,.15);
}

h1 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.25;
  color: #202124;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 18px;
  color: #5f6368;
  margin-bottom: 48px;
  line-height: 1.75;
  font-weight: 400;
}

/* Download Box with 3D Chrome Logo */
.download-box {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a73e8;
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-transform: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  position: relative;
  overflow: visible;
}

.cta-btn:hover {
  background: #1765cc;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
}

.cta-btn:active {
  background: #1557b0;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.download-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* 3D Chrome Logo Animation */
.chrome-logo-3d {
  width: 160px;
  height: 160px;
  perspective: 1200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chrome-logo-3d img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float3D 8s ease-in-out infinite;
  filter: drop-shadow(0 15px 35px rgba(66, 133, 244, 0.5));
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.chrome-logo-3d:hover img {
  animation-play-state: paused;
  transform: translateY(-10px) rotateY(15deg) scale(1.05);
}

@keyframes float3D {
  0%, 100% {
    transform: translateY(0px) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
  }
  20% {
    transform: translateY(-15px) rotateY(8deg) rotateX(5deg) rotateZ(2deg);
  }
  40% {
    transform: translateY(-8px) rotateY(-8deg) rotateX(-3deg) rotateZ(-2deg);
  }
  60% {
    transform: translateY(-20px) rotateY(5deg) rotateX(4deg) rotateZ(1deg);
  }
  80% {
    transform: translateY(-12px) rotateY(-5deg) rotateX(-4deg) rotateZ(-1deg);
  }
}

.chrome-logo-3d::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.2) 0%, rgba(66, 133, 244, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

.chrome-logo-3d::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(52, 168, 83, 0.15) 0%, rgba(251, 188, 5, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.9;
  }
}

.version-info {
  color: #5f6368;
  font-size: 13px;
  margin-top: 16px;
  font-weight: 400;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #f8f9fa;
}

.features h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 80px;
  color: #202124;
  letter-spacing: -0.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #fff;
  padding: 48px 32px;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3), 0 8px 16px 4px rgba(60,64,67,.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon img {
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #202124;
  text-align: center;
}

.feature-card p {
  color: #5f6368;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
  font-weight: 400;
}

/* Download Section */
.download-section {
  padding: 100px 0;
}

.download-section h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 72px;
  color: #202124;
  letter-spacing: -0.5px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.download-card {
  background: #fff;
  border: 1px solid #dadce0;
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.download-card:hover {
  border-color: #dadce0;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #202124;
}

.download-card p {
  color: #5f6368;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 400;
}

.download-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.download-card li {
  padding: 8px 0;
  color: #5f6368;
  font-size: 14px;
  font-weight: 400;
}

.download-btn {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.25px;
  margin-top: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.download-btn:hover {
  background: #1765cc;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
}

.download-btn:active {
  background: #1557b0;
}

/* Articles Section */
.articles-section {
  padding: 100px 0;
  background: #fff;
}

.articles-section h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 16px;
  color: #202124;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #5f6368;
  margin-bottom: 64px;
  font-weight: 400;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dadce0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
  border-color: #dadce0;
  transform: translateY(-4px);
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-content p {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  margin-top: auto;
}

.article-link:hover {
  color: #1557b0;
  text-decoration: underline;
}

/* Article Modal */
.article-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-content {
  background-color: #fff;
  max-width: 900px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: 300;
  color: #5f6368;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: #f1f3f4;
  color: #202124;
}

.article-full {
  padding: 60px;
}

.article-full h2 {
  font-size: 40px;
  font-weight: 300;
  color: #202124;
  margin-bottom: 24px;
  line-height: 1.3;
}

.article-full img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.article-meta {
  color: #5f6368;
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dadce0;
}

.article-full h3 {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin: 32px 0 16px;
}

.article-full p {
  font-size: 16px;
  line-height: 1.75;
  color: #3c4043;
  margin-bottom: 20px;
}

.article-full ul, .article-full ol {
  margin: 20px 0;
  padding-left: 28px;
}

.article-full li {
  font-size: 16px;
  line-height: 1.75;
  color: #3c4043;
  margin-bottom: 12px;
}

.article-full strong {
  font-weight: 500;
  color: #202124;
}

.article-full code {
  background-color: #f1f3f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #d93025;
}

.article-card {
  cursor: pointer;
}

/* Support Section */
.support {
  padding: 100px 0;
  background: #f8f9fa;
}

.support h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 32px;
  color: #202124;
  letter-spacing: -0.5px;
}

.support p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #5f6368;
  line-height: 1.75;
  text-align: center;
  font-weight: 400;
}

/* Footer */
footer {
  background: #f8f9fa;
  padding: 48px 0;
  text-align: center;
  color: #5f6368;
  margin-top: 0;
  border-top: 1px solid #dadce0;
}

footer p {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 400;
}

footer a {
  color: #5f6368;
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0 12px;
}

footer a:hover {
  color: #202124;
}

footer strong {
  color: #202124;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 48px;
  }
  
  .hero-text, .hero-image {
    min-width: 100%;
  }
  
  .download-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .chrome-logo-3d {
    width: 140px;
    height: 140px;
  }
  
  .chrome-logo-3d::before {
    width: 160px;
    height: 160px;
  }
  
  .chrome-logo-3d::after {
    width: 130px;
    height: 130px;
  }
  
  .features h2, .download-section h2, .articles-section h2 {
    font-size: 32px;
  }
  
  .features {
    padding: 60px 0;
  }
  
  .download-section {
    padding: 60px 0;
  }
  
  .support {
    padding: 60px 0;
  }
  
  .articles-section {
    padding: 60px 0;
  }
  
  .section-subtitle {
    margin-bottom: 40px;
    font-size: 14px;
  }
  
  .feature-grid, .download-grid, .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    margin-left: 24px;
    font-size: 13px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .article-image {
    height: 180px;
  }
  
  .article-content {
    padding: 20px;
  }
  
  .article-content h3 {
    font-size: 16px;
  }
  
  .article-full {
    padding: 40px 24px;
  }
  
  .article-full h2 {
    font-size: 28px;
  }
  
  .article-full h3 {
    font-size: 20px;
  }
  
  .article-full p, .article-full li {
    font-size: 15px;
  }
  
  .modal-close {
    right: 12px;
    top: 12px;
  }
}

/* 统计信息样式 */
.stats-container {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e8eaed;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 500;
  color: #1a73e8;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.star-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.stat-label {
  font-size: 13px;
  color: #5f6368;
  text-align: center;
}

/* Section Header样式 */
.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.update-time {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #dadce0;
}

.update-label {
  font-size: 13px;
  color: #5f6368;
  font-weight: 400;
}

.update-date {
  font-size: 14px;
  color: #202124;
  font-weight: 500;
}

/* 标签按钮样式 */
.feature-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.tag-btn {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 20px;
  font-size: 14px;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-btn:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
  color: #1a73e8;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  transform: translateY(-1px);
}

.tag-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3);
}

@media (max-width: 768px) {
  .stats-container {
    gap: 24px;
    justify-content: center;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .section-title-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .update-time {
    width: 100%;
    justify-content: center;
  }
  
  .feature-tags {
    width: 100%;
  }
  
  .tag-btn {
    font-size: 13px;
    padding: 6px 16px;
  }
}
