/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

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

/* Header */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text);
  font-weight: 400;
  font-size: 14px;
  margin-left: 12px;
}

nav a {
  color: var(--text);
  margin-left: 32px;
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a73e8 0%, #4a9af5 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

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

.section:nth-child(even) {
  background: var(--bg-light);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.8;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 24px 16px;
}

.value-item .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.value-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* Contact */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 15px;
}

.contact-item .label {
  font-weight: 600;
  min-width: 100px;
  color: var(--text);
}

.contact-item .value {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left p {
  margin-bottom: 8px;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 24px;
}

.footer-right a:hover {
  color: #fff;
}

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

/* Legal Pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-page .update-date {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 16px;
}

.legal-page p,
.legal-page ul {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 26px;
  }

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

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header .container {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 24px;
  }

  nav {
    width: 100%;
    margin-top: 8px;
  }

  nav a {
    margin-left: 0;
    margin-right: 20px;
    font-size: 14px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-right a {
    margin-left: 0;
    margin-right: 24px;
  }
}
