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

/* Global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.header {
  background: rgba(10, 25, 41, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  padding: 12px 0;
  display: flex;
  justify-content: space-between; /* 左右分配空间 */
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffe7;
  text-decoration: none;
  text-shadow: 0 0 6px #00ffe7;
  margin-left: 20px; /* logo与左边间距 */
}

.header nav {
  display: flex;
  justify-content: center; /* 保证nav居中 */
  align-items: center;
  flex: 1; /* 使导航栏占据剩余空间 */
}

.header nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
}

.header nav a {
  color: #cde9ea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header nav a:hover {
  color: #00ffe7;
}

/* Hero Section（调整尺寸） */
.hero {
  background: url('/assets/hero-bg.jpg') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #00ffe7;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 0 10px #00ffe7;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #c0fff9cc;
}

/* CTA */
.cta-btn {
  background: linear-gradient(135deg, #00ffe7, #00b8a9);
  color: #001f1d;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,255,231,0.5);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,255,231,0.7);
}

/* Features Section */
.features {
  background: rgba(10, 25, 41, 0.85);
  padding: 60px 0;
  text-align: center;
}

.features h2 {
  font-size: 2.2rem;
  color: #00ffe7;
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.feature-item {
  background: #042c33;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,255,231,0.2);
  width: 280px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
}

.feature-item h3 {
  color: #00fff2;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: #a1dce6;
  font-size: 0.95rem;
}

/* Showcase Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

/* How It Works */
.how-it-works {
  background: rgba(0, 45, 55, 0.9);
  padding: 60px 0;
  text-align: center;
}

.how-it-works h2 {
  color: #00ffe7;
  font-size: 2rem;
  margin-bottom: 30px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  list-style: none;
  padding-left: 0;
}

.steps li {
  background: #064953;
  padding: 20px;
  border-radius: 10px;
  width: 260px;
  color: #b4e3eb;
}

.steps li h3 {
  font-size: 1.2rem;
  color: #00ffe7;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: #011f26;
  color: #3cd6d7;
  padding: 20px 0;
  text-align: center;
}

.footer a {
  color: #00ffe7;
  text-decoration: none;
}

.footer a:hover {
  color: #00b8a9;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-list, .steps {
    flex-direction: column;
    align-items: center;
  }
}
