:root {
  --bg: #030303;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.1);
  --text: #ebebeb;
  --text-dim: #555;
  --text-muted: #333;
  --accent: #e6673c;
  --accent-hover: #c55530;
  --accent-soft: rgba(230, 103, 60, 0.12);
  --accent-glow: rgba(230, 103, 60, 0.3);
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.12);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
}

::selection {
  background: rgba(230, 103, 60, 0.3);
  color: #fff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#root {
  flex: 1;
  display: flex;
  flex-direction: column;
}

header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.logo-link:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

main {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.reveal {
  opacity: 0;
  animation: revealIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-d1 { animation-delay: 0.05s; }
.reveal-d2 { animation-delay: 0.12s; }
.reveal-d3 { animation-delay: 0.2s; }
.reveal-d4 { animation-delay: 0.3s; }
.reveal-d5 { animation-delay: 0.4s; }
.reveal-d6 { animation-delay: 0.5s; }
.reveal-d7 { animation-delay: 0.6s; }
.reveal-d8 { animation-delay: 0.7s; }

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.hero {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 32px;
}

.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 24px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: 0;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.hero-icon-wrap:hover .hero-icon {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px var(--accent-glow);
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.hero .accent {
  color: var(--accent);
}

.hero-desc {
  font-size: 15px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.cta-button:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cta-button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.cta-button.secondary:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-soft);
}

.features {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  --card-color: var(--accent);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 0 1px color-mix(in srgb, var(--card-color) 12%, transparent);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:active {
  transform: translateY(-1px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: color-mix(in srgb, var(--card-color) 12%, transparent);
  color: var(--card-color);
}

.feature-body {
  flex: 1;
  min-width: 0;
}

.feature-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-sub {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
}

.installation {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.install-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.install-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.install-download-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.install-download-btn:active {
  transform: translateY(-1px);
}

.install-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

.install-source {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.install-source:hover {
  border-color: var(--border-hover);
}

.install-source summary {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  list-style: none;
}

.install-source summary::-webkit-details-marker {
  display: none;
}

.install-source summary::before {
  content: '▸ ';
}

.install-source[open] summary::before {
  content: '▾ ';
}

.install-source summary:hover {
  color: var(--text);
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 20px 20px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
}

.step p {
  flex: 1;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

code {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: var(--accent);
}

.status {
  margin-bottom: 40px;
}

.stat-row {
  display: flex;
  gap: 24px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo a {
  display: inline-block;
  opacity: 0.12;
  transition: var(--transition);
}

.footer-logo a:hover {
  opacity: 0.25;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

@media (max-width: 480px) {
  main {
    padding: 40px 16px 60px;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 26px;
  }
}
