:root {
  --primary: #8376F2;
  --primary-dark: #6350E9;
  --bg-dark: #12091F;
  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(18, 9, 31, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  margin-left: 30px;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: radial-gradient(circle at 80% 20%, rgba(131, 118, 242, 0.15) 0%, transparent 40%);
  position: relative;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-tag {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
}

.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-mockup {
  max-width: 100%;
  filter: drop-shadow(0 0 50px rgba(131, 118, 242, 0.3));
  border-radius: 40px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Feature Grid */
.features {
  padding: 100px 10%;
  background: #0d0617;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.feature-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-dim);
}

/* Download Section */
.download {
  padding: 100px 10%;
  text-align: center;
}

.download-box {
  background: linear-gradient(135deg, rgba(131, 118, 242, 0.1) 0%, rgba(99, 80, 233, 0.1) 100%);
  border: 1px solid var(--primary);
  padding: 80px 40px;
  border-radius: 32px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(131, 118, 242, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 60px 10% 40px;
  background: #0a0512;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info {
  flex: 2;
  max-width: 400px;
}

.footer-links {
  flex: 1;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    height: auto;
    text-align: center;
  }
  .hero-image {
    padding-top: 50px;
    justify-content: center;
  }
  .hero h1 {
    font-size: 40px;
  }
}
