:root {
  --bg: #0b0716;
  --bg-2: #120b22;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f1fb;
  --text-dim: #a99fc4;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
  --radius: 20px;
  --shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: #7c3aed; top: -160px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: #db2777; top: 20%; right: -140px; }
.orb-3 { width: 380px; height: 380px; background: #6d28d9; bottom: -120px; left: 30%; opacity: 0.4; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(11, 7, 22, 0.7); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }

.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; object-fit: contain;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}
.logo-text { line-height: 1.1; }
.logo-text em { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: var(--text-dim); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; color: var(--text-dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

.nav-cta { display: inline-flex; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px;
  border-radius: 100px; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 34px rgba(236, 72, 153, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(236, 72, 153, 0.55); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.09); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-icon { font-size: 15px; }

.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: 170px 40px 120px; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
}
.badge {
  display: inline-block; padding: 8px 18px; border-radius: 100px; font-size: 13px;
  background: var(--grad-soft); border: 1px solid rgba(255,255,255,0.12); color: #e9d5ff; margin-bottom: 24px;
}
.hero-title { font-size: clamp(40px, 6vw, 68px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--text-dim); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 48px; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; }
.meta-item strong { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.meta-item span { font-size: 13px; color: var(--text-dim); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px; border-radius: 44px; padding: 14px;
  background: linear-gradient(160deg, #2a1d4d, #1a1130);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow); transform: rotate(4deg);
}
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #0d0a1a; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; }

.float-card {
  position: absolute; padding: 12px 18px; border-radius: 14px; font-size: 13px; font-weight: 600;
  background: rgba(20, 14, 40, 0.85); border: 1px solid var(--border); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); animation: float 5s ease-in-out infinite;
}
.float-card-1 { top: 10%; left: 4%; }
.float-card-2 { bottom: 14%; right: 2%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 110px 40px; }
.section-alt { max-width: none; background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.06), transparent); }
.section-alt .section-head, .section-alt .windows-showcase, .section-alt .win-features, .section-alt .download-group { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px; font-weight: 600;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; }
.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.feature-card {
  padding: 34px 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.5); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.feature-icon { font-size: 34px; margin-bottom: 18px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 15px; }

.screenshot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.shot-frame {
  width: 100%; max-width: 230px; aspect-ratio: 9 / 17; border-radius: 30px; padding: 12px;
  background: linear-gradient(160deg, #2a1d4d, #1a1130); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4); transition: transform 0.3s; overflow: hidden;
}
.shot-frame:hover { transform: translateY(-8px); }
.shot-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }
.shot-label { color: var(--text-dim); font-size: 14px; }

.download-group { margin-top: 50px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.windows-showcase { margin-bottom: 40px; }
.browser-mockup {
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
  background: #0d0a1a; box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
.b-dot { width: 12px; height: 12px; border-radius: 50%; background: #ec4899; }
.b-dot:nth-child(2) { background: #f59e0b; }
.b-dot:nth-child(3) { background: #10b981; }
.b-url { margin-left: 14px; flex: 1; padding: 6px 14px; border-radius: 8px; background: rgba(0,0,0,0.35); color: var(--text-dim); font-size: 13px; }
.browser-body img { width: 100%; height: auto; display: block; }

.win-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; padding: 0 40px; }
.win-features li {
  padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; color: var(--text-dim); display: flex; flex-direction: column; gap: 10px;
}
.win-features li span { font-size: 22px; }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dl-card {
  padding: 40px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  text-align: center; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; gap: 10px;
}
.dl-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.5); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.dl-icon { font-size: 40px; margin-bottom: 6px; }
.dl-card h3 { font-size: 20px; }
.dl-card p { color: var(--text-dim); font-size: 14px; }
.dl-link { margin-top: 10px; font-size: 14px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.footer { border-top: 1px solid var(--border); background: rgba(11, 7, 22, 0.6); backdrop-filter: blur(10px); padding: 60px 40px 30px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand .logo-mark { width: 44px; height: 44px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 15px; margin-bottom: 6px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 24px;
  display: flex; justify-content: center; align-items: center; color: var(--text-dim); font-size: 13px;
  text-align: center;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: #fff; }

.legal { max-width: 820px; margin: 0 auto; padding: 150px 40px 100px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 10px; }
.legal-update { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.legal-block { margin-bottom: 32px; }
.legal-block h2 { font-size: 20px; margin-bottom: 12px; }
.legal-block p { color: var(--text-dim); font-size: 15px; margin-bottom: 10px; }
.legal-block ul { padding-left: 20px; }
.legal-block li { color: var(--text-dim); font-size: 15px; margin-bottom: 8px; list-style: disc; }
.legal-block a { color: var(--pink); }

.about { max-width: var(--max); margin: 0 auto; padding: 170px 40px 100px; }
.about-hero { text-align: center; margin-bottom: 90px; }
.about-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; }
.about-lead { margin-top: 24px; font-size: 18px; color: var(--text-dim); }
.about-mission { margin-bottom: 110px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
  padding: 38px 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.mission-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.5); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.mission-card h3 { font-size: 20px; margin-bottom: 12px; }
.mission-card p { color: var(--text-dim); font-size: 15px; }

.about-team { margin-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.contact-item {
  display: flex; align-items: center; gap: 20px; padding: 28px 30px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.contact-item:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.5); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.contact-icon { font-size: 30px; flex-shrink: 0; }
.contact-info h3 { font-size: 15px; color: var(--text-dim); margin-bottom: 6px; font-weight: 600; }
.contact-info p { font-size: 18px; font-weight: 600; }
.contact-info a { color: inherit; transition: color 0.2s; }
.contact-info a:hover { color: var(--pink); }

.about-cta { text-align: center; padding: 70px 40px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid rgba(255,255,255,0.12); }
.about-cta h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.about-cta p { color: var(--text-dim); font-size: 16px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 140px 24px 80px; text-align: center; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 220px; height: 440px; }
  .feature-grid, .mission-grid { grid-template-columns: 1fr; }
  .screenshot-row { grid-template-columns: 1fr; }
  .win-features { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { padding: 14px 20px; }
  .nav-logo { position: relative; z-index: 102; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; z-index: 100;
    flex-direction: column; gap: 6px; align-items: stretch;
    background: rgba(20, 14, 40, 0.98); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 16px;
    padding: 10px; font-size: 16px; text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .nav-links a { display: block; padding: 16px 18px; border-radius: 10px; line-height: 1.4; }
  .nav-links a:hover { background: var(--surface-2); color: #fff; }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-cta { display: none; }
}
