:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

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

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

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

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

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
  }
}

.hero-text h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid #d1d5db;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-mockup {
  flex: 1;
  min-height: 220px;
  background: #e5e7eb;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

section {
  padding: 2.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--muted);
}

.download {
  text-align: center;
}

.download p {
  color: var(--muted);
  margin: 0.5rem 0 1.5rem;
}

footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.main {
  padding: 2.5rem 1.25rem;
}

.text-page {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}

.text-page h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.text-muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.text-page h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.text-page p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.text-page ul {
  margin: 0.5rem 0 0.75rem 1.1rem;
  padding-left: 0.9rem;
}

.text-page li {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.back-link {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--primary);
}

.back-link:hover {
  color: var(--primary-dark);
}
