﻿/* 重置和基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Google Sans', -webkit-system-font, BlinkMacSystemFont, Roboto, sans-serif;
  line-height: 1.6;
  color: #202124;
  overflow-x: hidden;
}

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

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

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.chrome-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #5f6368;
}

.chrome-icon {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  color: #5f6368;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #1a73e8;
}

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

.btn-download-nav {
  background: #1a73e8;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #5f6368;
  border-radius: 1px;
}

/* 主要内容区域 */
.main {
  padding-top: 72px;
}

/* 英雄区域 */
.hero {
  padding: 80px 32px 120px;
  background: #fff;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chrome-logo-large {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.chrome-icon-large {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #202124;
  margin-bottom: 8px;
}

.title-highlight {
  background: linear-gradient(45deg, #34a853, #4285f4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 120px;
  height: 20px;
  background: #e8f0fe;
  border-radius: 10px;
  z-index: -1;
}

.btn-download-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a73e8;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  width: fit-content;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-download-primary:hover {
  background: #1557b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

.download-info {
  font-size: 14px;
  color: #5f6368;
  margin-top: -8px;
}

.other-platforms {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: underline;
  width: fit-content;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.browser-mockup {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.browser-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 功能特色区域 */
.features {
  padding: 120px 32px;
  background: #fafafa;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-title {
  font-size: 32px;
  font-weight: 400;
  color: #202124;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.shield-icon {
  margin-top: -4px;
}

.features-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card-large {
  grid-row: span 2;
  background: #4285f4;
  color: white;
}

.feature-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-card:not(.feature-card-large) .feature-tag {
  background: #e8f0fe;
  color: #1a73e8;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}

.password-demo {
  position: relative;
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

.password-demo input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #202124;
}

.password-popup {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  color: #202124;
}

.password-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
}

.google-icon {
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #ea4335, #4285f4, #34a853, #fbbc05);
  border-radius: 50%;
}

.feature-icon {
  margin-top: 24px;
}

.features-footer {
  text-align: center;
  color: #5f6368;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 自定义和扩展区域 */
.customization,
.extensions {
  padding: 120px 32px;
}

.customization {
  background: white;
}

.extensions {
  background: #fafafa;
}

.customization-content,
.extensions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 32px;
}

.customization-features,
.custom-feature {
  margin-bottom: 24px;
}

.custom-feature h3 {
  font-size: 18px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 8px;
}

.custom-feature p {
  font-size: 14px;
  color: #5f6368;
}

.customization-image,
.extensions-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Google打造区域 */
.google-built {
  padding: 120px 32px;
  background: white;
}

.google-built-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.google-built .section-title {
  margin-bottom: 80px;
}

.google-logo {
  color: #4285f4;
}

.built-icon {
  font-size: 24px;
  margin: 0 8px;
}

.google-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.google-feature {
  text-align: left;
  padding: 32px;
  background: #f8f9fa;
  border-radius: 16px;
}

.feature-badge {
  display: inline-block;
  background: #fef7e0;
  color: #ea8600;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

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

.google-feature p {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ai-demo {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.google-g-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(45deg, #ea4335, #4285f4, #34a853, #fbbc05);
  border-radius: 50%;
  position: relative;
}

.google-g-icon::after {
  content: 'G';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: 500;
}

.search-demo {
  text-align: center;
}

.search-image {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
}

.workspace-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.workspace-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

/* FAQ区域 */
.faq {
  padding: 120px 32px;
  background: #fafafa;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #202124;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-icon {
  color: #5f6368;
  transition: transform 0.2s ease;
}

/* 移动端下载区域 */
.mobile-download {
  padding: 80px 32px;
  background: #1a73e8;
  color: white;
  text-align: center;
}

.mobile-download-content {
  max-width: 800px;
  margin: 0 auto;
}

.mobile-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}

.mobile-desc {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-download-mobile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #1a73e8;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.btn-download-mobile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.qr-code p {
  font-size: 14px;
  opacity: 0.8;
}

/* 页脚 */
.footer {
  background: #f8f9fa;
  padding: 80px 32px 32px;
}

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

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column a {
  font-size: 14px;
  color: #5f6368;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #1a73e8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #dadce0;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.google-link {
  font-size: 14px;
  color: #5f6368;
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 14px;
  color: #5f6368;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dadce0;
  border-radius: 20px;
  font-size: 14px;
  color: #5f6368;
  background: white;
  transition: all 0.2s ease;
}

.language-btn:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}

.help-link {
  font-size: 14px;
  color: #5f6368;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .nav {
    padding: 12px 24px;
  }

  .hero-content,
  .customization-content,
  .extensions-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .google-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 16px 80px;
  }

  .hero-title {
    font-size: 32px;
  }

  .features,
  .customization,
  .extensions,
  .google-built,
  .faq {
    padding: 80px 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .footer {
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left > * {
  animation: fadeInUp 0.6s ease forwards;
}

.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.2s; }
.hero-left > *:nth-child(3) { animation-delay: 0.3s; }
.hero-left > *:nth-child(4) { animation-delay: 0.4s; }
.hero-left > *:nth-child(5) { animation-delay: 0.5s; }

.browser-mockup {
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.browser-mockup {
  opacity: 1;
}

/* 悬停效果 */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.google-feature {
  transition: transform 0.2s ease;
}

.google-feature:hover {
  transform: translateY(-2px);
}
