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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #0f1117;
  color: #e6edf3;
  line-height: 1.6;
}

a {
  color: #58a6ff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & nav */
.site-header {
  background: linear-gradient(180deg, #161b22 0%, #0f1117 100%);
  border-bottom: 1px solid #30363d;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #30363d;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #58a6ff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav-links a {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.9rem;
}

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

.lang button {
  background: transparent;
  border: 1px solid #30363d;
  color: #8b949e;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}

.lang button.active,
.lang button:hover {
  border-color: #58a6ff;
  color: #58a6ff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 2rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-sub {
  color: #8b949e;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cta {
  display: inline-block;
  background: #58a6ff;
  color: #fff !important;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.cta:hover {
  opacity: 0.9;
}

.cta-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.cta-secondary {
  display: inline-block;
  border: 1px solid #30363d;
  color: #e6edf3 !important;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.cta-secondary:hover {
  border-color: #58a6ff;
  color: #58a6ff !important;
}

.note {
  color: #6e7681;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #161b22;
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: #8b949e;
  margin-bottom: 2.5rem;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #1c2128;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #58a6ff;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #e6edf3;
}

.step p {
  color: #8b949e;
  font-size: 0.95rem;
}

/* Effort table */
.table-wrap {
  overflow-x: auto;
}

.effort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.effort-table th,
.effort-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #30363d;
}

.effort-table th {
  color: #8b949e;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.effort-table tbody tr:hover {
  background: #1c2128;
}

.effort-table td:first-child {
  white-space: nowrap;
}

.effort-table td:nth-child(2) {
  color: #58a6ff;
  white-space: nowrap;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: #1c2128;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.5rem;
}

.feature h3 {
  color: #58a6ff;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature p {
  color: #8b949e;
  font-size: 0.95rem;
}

/* Requirements */
.req-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}

.req-list li {
  padding: 0.65rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #8b949e;
}

.req-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3fb950;
  font-weight: 700;
}

/* Download */
.download-section {
  text-align: center;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.download-link {
  margin: 1.25rem 0 2rem;
}

.install-steps {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 1rem;
  color: #8b949e;
  padding-left: 1.25rem;
}

.install-steps li {
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #30363d;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item dt {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e6edf3;
}

.faq-item dd {
  color: #8b949e;
  margin-left: 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #6e7681;
  font-size: 0.85rem;
  border-top: 1px solid #30363d;
}

.footer-brand {
  margin-bottom: 0.5rem;
  color: #8b949e;
}

.site-footer a {
  color: #58a6ff;
}

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

  .hero {
    padding: 2rem 1.25rem 3rem;
  }

  .section {
    padding: 3rem 0;
  }
}
