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

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background: #0a0a0a;
  color: #e5e5e5;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-brand span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h1 .accent {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: #737373;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 72px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #a3a3a3;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #10b981; }
.dot-cyan { background: #06b6d4; }
.dot-amber { background: #f59e0b; }

/* Download Grid */
.downloads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 80px;
}

.card {
  background: #0a0a0a;
  padding: 32px 20px;
  text-align: center;
  transition: background 0.2s;
}

.card:hover {
  background: #111;
}

.card-icon {
  margin-bottom: 16px;
}

.card-icon svg {
  fill: #525252;
  transition: fill 0.2s;
}

.card:hover .card-icon svg {
  fill: #10b981;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.card-version {
  font-size: 0.7rem;
  color: #525252;
  margin-bottom: 16px;
  min-height: 1.2em;
}

.card-btn {
  display: inline-block;
  padding: 8px 28px;
  background: transparent;
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.card-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.card-soon {
  display: inline-block;
  padding: 8px 28px;
  color: #404040;
  font-size: 0.8rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: #525252;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #a3a3a3;
}

.divider {
  margin: 0 16px;
  color: #262626;
}

.copyright {
  font-size: 0.7rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

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

@media (max-width: 420px) {
  .downloads {
    grid-template-columns: 1fr;
  }
}

/* Agreement Pages */
.agreement-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.agreement-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #737373;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.agreement-page .back-link:hover {
  color: #10b981;
}

.agreement-page h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.agreement-content {
  background: #141414;
  color: #d4d4d4;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.agreement-content h1 { font-size: 1.5rem; margin: 24px 0 12px; color: #10b981; }
.agreement-content h2 { font-size: 1.3rem; margin: 20px 0 10px; color: #10b981; }
.agreement-content h3 { font-size: 1.1rem; margin: 16px 0 8px; color: #06b6d4; }
.agreement-content p { margin-bottom: 12px; }
.agreement-content ul, .agreement-content ol { margin: 8px 0 12px 24px; }
.agreement-content a { color: #10b981; }

.loading {
  text-align: center;
  padding: 48px;
  color: #525252;
}
