/* AuraVision AI Keyboard — Landing Page Styles */

:root {
  --primary: #7c4dff;
  --primary-light: #b47cff;
  --primary-dark: #5c35cc;
  --bg-dark: #0d0d1a;
  --bg-card: #16162a;
  --text: #e8e8f0;
  --text-muted: #9a9ab0;
  --accent-green: #00e676;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 77, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(180, 124, 255, 0.08) 0%, transparent 60%);
}

/* ---------- Header / Nav ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(13, 13, 26, 0.8);
  border-bottom: 1px solid rgba(124, 77, 255, 0.15);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

.nav-links a:hover {
  color: var(--primary-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 24px 100px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(124, 77, 255, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(124, 77, 255, 0.3);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 44px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 77, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.version-info {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Features ---------- */
.features {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 77, 255, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(124, 77, 255, 0.12);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

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

/* ---------- How it works ---------- */
.how-it-works {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.steps {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1 1 200px;
  max-width: 300px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- System Requirements ---------- */
.requirements {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.req-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.req-box h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.req-list .check {
  color: var(--accent-green);
  font-weight: 700;
}

.req-list .soon {
  color: var(--text-muted);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 10px;
  border-radius: 6px;
  margin-left: 4px;
}

/* ---------- CTA Bottom ---------- */
.cta-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 120px;
}

.cta-bottom h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-bottom p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 130px 20px 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}
