@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
  --brand-blue: #2979ff;
  --brand-blue-soft: rgba(41, 121, 255, 0.15);
  --bg-main: #0a0e1a;
  --bg-card: #111827;
  --bg-muted: #1e293b;
  --text: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  --btn-bg: #2979ff;
  --btn-text: #ffffff;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background:
    linear-gradient(180deg, rgba(10,14,26,0.75) 0%, rgba(10,14,26,0.95) 100%),
    url('https://www.quickq.io/images/homeH5Banner.webp') center/cover no-repeat fixed;
  background-color: var(--bg-main);
  color: var(--text);
  min-height: 100vh;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  align-items: center;
  min-height: calc(100vh - 80px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left { order: 1; }
  .hero-logo { justify-content: center; }
  .hero-right { order: 2; }
  .download-row { flex-direction: column; }
  .download-links { justify-content: center; }
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-logo img {
  width: 72px;
  height: 72px;
}

.hero-logo-text {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-logo-text .brand {
  color: var(--brand-blue);
}

.hero-logo-text .white {
  color: var(--text);
}

.hero-slogan {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.intro {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--brand-blue);
}

.intro h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.intro p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.download-row {
  display: flex;
  gap: 1rem;
}

.download-platform {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.download-platform:hover {
  background: #1565c0;
  transform: translateY(-1px);
}

.download-platform i {
  font-size: 1.25rem;
}

.download-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 2rem;
}

.download-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.download-links a:hover {
  color: var(--brand-blue);
}

.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.hero-screens {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

/* Laptop shell */
.device-laptop {
  width: 78%;
  z-index: 1;
}

.laptop-screen {
  background: #1a1a2e;
  border: 3px solid #3a3a5c;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  overflow: hidden;
}

.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 4px 0 0;
}

.laptop-base {
  background: linear-gradient(180deg, #3a3a5c 0%, #2a2a44 100%);
  height: 18px;
  border-radius: 0 0 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4%;
  right: -4%;
  height: 6px;
  background: linear-gradient(180deg, #3a3a5c, #2a2a44);
  border-radius: 0 0 8px 8px;
}

.laptop-notch {
  width: 18%;
  height: 5px;
  background: #4a4a6a;
  border-radius: 0 0 4px 4px;
}

/* Phone shell */
.device-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 28%;
  z-index: 2;
  background: #1c1c2e;
  border: 3px solid #3a3a5c;
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 35%;
  height: 4px;
  background: #3a3a5c;
  border-radius: 4px;
  margin: 4px auto 6px;
}

.phone-screen {
  border-radius: 12px;
  overflow: hidden;
  background: #0d1025;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-bar {
  width: 30%;
  height: 4px;
  background: #4a4a6a;
  border-radius: 4px;
  margin: 6px auto 4px;
}

@media (max-width: 900px) {
  .hero-screens {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .device-laptop { width: 90%; }
  .device-phone {
    position: static;
    width: 40%;
  }
}

/* 核心优势 */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.features-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(41, 121, 255, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 用户评价 */
.reviews-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.reviews-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.review-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.review-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 常见问题 */
.knowledge-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.knowledge-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.knowledge-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand-blue);
}

.knowledge-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.knowledge-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
