/* 落地页样式 - 可用于后续独立维护 */

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

:root {
  --primary: #4F6EF7;
  --primary-light: #7B93FA;
  --bg-dark: #1a1a2e;
  --bg-light: #f0f2f8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #1a1a2e 0%, #252545 50%, #f0f2f8 100%);
  -webkit-font-smoothing: antialiased;
}

/* 导航 */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px; border-radius: 8px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.8); font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:focus { color: #fff; outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 2px; }

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 69px; left: 0; right: 0;
  background: rgba(26,26,46,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
}
.mobile-menu a:focus { color: var(--primary-light); outline: none; }

/* 首屏 */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 32px 80px;
  position: relative; overflow: hidden;
}

/* 背景图 */
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url(../hero-bg.jpg) center center / cover no-repeat;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 深色渐变遮罩 */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right,
    rgba(26,26,46,0.95) 0%,
    rgba(26,26,46,0.85) 30%,
    rgba(26,26,46,0.6) 50%,
    rgba(26,26,46,0.3) 70%,
    rgba(26,26,46,0.1) 100%);
  z-index: 1;
}

.hero-content {
  text-align: left; max-width: 560px;
  position: relative; z-index: 2;
  padding-left: 12%;
}
.hero-badge {
  display: inline-block;
  padding: 8px 24px; border-radius: 24px;
  background: rgba(79,110,247,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79,110,247,0.3);
  color: #fff;
  font-size: 14px; font-weight: 500; margin-bottom: 28px;
}
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero h1 span { color: #7B93FA; }
.hero p {
  font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.8;
  margin-bottom: 40px;
}
.hero-btn {
  display: inline-block;
  padding: 16px 48px; border-radius: 48px;
  background: linear-gradient(135deg, #4F6EF7 0%, #7B93FA 100%);
  color: #fff; font-size: 17px; font-weight: 600;
  text-decoration: none; box-shadow: 0 8px 32px rgba(79,110,247,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,110,247,0.5);
}
.hero-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,110,247,0.5), 0 0 0 3px rgba(79,110,247,0.4);
  outline: none;
}
.hero-note {
  margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.6);
}

/* 功能 */
.features {
  padding: 100px 32px;
  background: linear-gradient(180deg, #e8ecf4 0%, #f0f3f8 100%);
  color: #1a1a2e;
}
.section-title {
  text-align: center; font-size: 36px; font-weight: 700;
  margin-bottom: 16px;
}
.section-desc {
  text-align: center; font-size: 16px; color: #6b7280;
  margin-bottom: 64px;
}
.features-inner {
  max-width: 1120px; margin: 0 auto;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: rgba(255,255,255,0.85); border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.feature-icon.blue { background: #EEF1FE; }
.feature-icon.green { background: #E8F8EF; }
.feature-icon.orange { background: #FFF4E5; }
.feature-icon.purple { background: #F3EEFF; }
.feature-icon.pink { background: #FEECEE; }
.feature-icon.teal { background: #E6F7F5; }
.feature-card h3 {
  font-size: 19px; font-weight: 600; margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px; color: #6b7280; line-height: 1.7;
}

/* 领域 */
.domains {
  background: linear-gradient(180deg, #f0f3f8 0%, #e5e9f2 100%);
  padding: 100px 32px;
  color: #1a1a2e;
}
.domains-inner {
  max-width: 1120px; margin: 0 auto;
}
.domains-grid {
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap;
}
.domain-tag {
  padding: 14px 36px; border-radius: 48px;
  font-size: 16px; font-weight: 500;
  background: rgba(255,255,255,0.6); color: #1a1a2e;
  border: 1px solid #d1d5e0;
  transition: all 0.2s;
}
.domain-tag:hover {
  background: rgba(255,255,255,0.85); color: #4F6EF7;
  border-color: #4F6EF7;
}

/* CTA */
.cta {
  padding: 100px 32px; text-align: center;
  background: linear-gradient(180deg, #e5e9f2 0%, #dce0ea 100%);
  color: #1a1a2e;
}
.cta-inner {
  max-width: 1120px; margin: 0 auto;
}
.cta-box {
  background: linear-gradient(135deg, #4F6EF7 0%, #7B93FA 100%);
  border-radius: 28px; padding: 64px 48px;
  color: #fff;
}
.cta-box h2 {
  font-size: 32px; font-weight: 700; margin-bottom: 16px;
}
.cta-box p {
  font-size: 17px; opacity: 0.85; margin-bottom: 36px;
  line-height: 1.7;
}
.cta-btn {
  display: inline-block;
  padding: 14px 40px; border-radius: 48px;
  background: #fff; color: #4F6EF7;
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 0 0 3px rgba(255,255,255,0.4);
  outline: none;
}
.cta-qrcode {
  margin-top: 32px;
  padding: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: inline-block;
}
.cta-qrcode p {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.cta-qrcode img {
  width: 160px; height: 160px;
  border-radius: 12px;
  background: #fff;
}

/* 底部 */
footer {
  text-align: center; padding: 40px 32px;
  font-size: 13px; color: #6b7280;
  border-top: 1px solid #d1d5e0;
  background: linear-gradient(180deg, #dce0ea 0%, #d0d5e5 100%);
}
footer a {
  color: var(--primary);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* 响应式 */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-content { padding-left: 0; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section-title { font-size: 26px; }
  .cta-box { padding: 48px 24px; }
  .cta-box h2 { font-size: 24px; }
  .cta-box p { font-size: 15px; }
  .domain-tag { padding: 12px 24px; font-size: 14px; }
}
