/* 全局重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
  --google-blue: #4285F4;
  --google-green: #34A853;
  --google-yellow: #FBBC05;
  --google-red: #EA4335;
  --white: #ffffff;
  --gray: #f5f5f5;
  --dark: #202124;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body {
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}

.logo img {
  height: 32px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--google-green);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--google-yellow), var(--google-red));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(251, 188, 5, 0.3);
}

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

.btn-green:hover {
  background: #2d9449;
  transform: translateY(-3px);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 5%;
}

/* 首页英雄区 */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--google-blue), var(--google-green), var(--google-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #5f6368;
}

/* 卡片区域 */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 3rem 0 2rem;
  color: var(--dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

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

.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--google-green);
  margin-bottom: 1rem;
}

.card p {
  color: #5f6368;
  font-size: 0.95rem;
}

/* 页脚 */
.footer {
  background: var(--gray);
  padding: 3rem 5%;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  color: #5f6368;
}

/* 404页面 */
.notfound {
  text-align: center;
  padding: 6rem 0;
}

.notfound h1 {
  font-size: 6rem;
  color: var(--google-yellow);
  margin-bottom: 1rem;
}

.notfound h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
}