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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #6c5ce7;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  transition: color 0.2s;
}

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

.btn-login {
  background: #6c5ce7;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
}

.btn-login:hover {
  background: #5a4bd1;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero .subtitle {
  font-size: 24px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero .description {
  font-size: 16px;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Services */
.services {
  padding: 80px 0;
  background: #f9fafb;
}

.services h2,
.about h2,
.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  color: #222;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

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

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* About */
.about {
  padding: 80px 0;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.9;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: #f9fafb;
  text-align: center;
}

.contact > .container > p {
  color: #666;
  margin-bottom: 24px;
}

.contact-info {
  font-size: 16px;
  color: #333;
}

.contact-info p {
  margin: 8px 0;
}

/* Footer */
footer {
  padding: 32px 0;
  text-align: center;
  background: #222;
  color: #aaa;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero .subtitle {
    font-size: 18px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.btn-login) {
    display: none;
  }

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