:root {
  --bg: #0b1220;
  --surface: #111827;
  --primary: #0ea5e9;
  --secondary: #6366f1;
  --text: #e5eef7;
  --muted: #94a3b8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
code { background: #1f2937; padding: 2px 8px; border-radius: 6px; }

.hero {
  min-height: 80vh;
  background: radial-gradient(circle at top, rgba(14,165,233,.25), transparent 55%), var(--bg);
  padding: 24px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  font-family: monospace;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.lang-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--text);
  border-color: var(--primary);
  background: rgba(14,165,233,.12);
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14,165,233,.15);
  color: var(--primary);
  font-size: .85rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 16px 0;
}

.subtitle { color: var(--muted); font-size: 1.15rem; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary { background: var(--primary); color: #04111d; }
.btn.secondary { background: transparent; border: 1px solid #334155; color: var(--text); }

.hero-stats {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats li { display: flex; flex-direction: column; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.showcase {
  padding-top: 48px;
}

.showcase-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.showcase-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.showcase-intro p {
  color: var(--muted);
  margin: 0;
}

.feature-banner {
  margin: 0 0 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #1f2937;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.feature-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid #1f2937;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.12);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-card figcaption {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid #1f2937;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.dark { background: var(--surface); max-width: none; text-align: center; }
.section.dark > * { max-width: 700px; margin-left: auto; margin-right: auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 24px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.auth-card input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: var(--text);
}

.message { min-height: 20px; color: var(--primary); font-size: .9rem; }

.footer {
  text-align: center;
  padding: 32px;
  color: var(--muted);
  border-top: 1px solid #1f2937;
}

@media (max-width: 640px) {
  .nav { flex-direction: column; gap: 16px; }
  .screenshots { grid-template-columns: 1fr; }
}
