:root {
  --bg: #fafbff;
  --card: #ffffff;
  --muted: #5b6472;
  --text: #101318;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --radius: 14px;
  --line: rgba(16,19,24,.08);
  --shadow: 0 4px 14px rgba(16,19,24,.06);
  --shadow-lg: 0 10px 25px rgba(16,19,24,.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
  line-height: 1.1;
}

.hero-description {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn.secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn.secondary:hover {
  background: #f8faff;
  transform: translateY(-1px);
}

.btn.large {
  padding: 18px 32px;
  font-size: 18px;
}

.hero-shortcut {
  color: var(--muted);
  font-size: 14px;
}

kbd {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.extension-preview {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.preview-image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 60px 0;
  letter-spacing: -0.5px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: #f8faff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-it-works h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 60px 0;
  letter-spacing: -0.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 20px 0;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.step p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  color: white;
}

.cta-content {
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 32px 0;
}

.cta .btn.primary {
  background: white;
  color: var(--accent);
}

.cta .btn.primary:hover {
  background: #f8faff;
  transform: translateY(-2px);
}

.version {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 20px !important;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-left span {
  font-weight: 600;
}

.footer-right span {
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .container {
    padding: 0 16px;
  }
}