/* style.css - LetsVPN / 快连官网 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066cc;
  --primary-dark: #004c99;
  --light-bg: #f5f9ff;
  --text: #222;
  --gray: #666;
  --border: #e0e6ed;
}

body {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light-bg);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1 1.5rem;
}

header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: #ff6b00;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

main {
  background: white;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.breadcrumb {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h2 {
  font-size: 1.6rem;
  margin: 1.8rem 0 1rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafcff;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.download-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.platform {
  background: #f0f7ff;
  padding: 1rem;
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
}

.platform h3 {
  margin: 0.5rem 0;
  color: var(--primary);
}

.news-list .news-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.news-meta {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
}

footer {
  text-align: center;
  padding: 2.5rem 0 1.5rem;
  color: var(--gray);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  main {
    margin: 1.5rem;
    padding: 1.8rem 1.2rem;
  }
}