:root {
  --primary: #007aff;
  --pro: #faad14;
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #666;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  background: white;
  border-bottom: 1px solid #e5e5e7;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tagline {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

/* Features */
.features, .pricing, .faq {
  padding: 80px 24px;
}

.features h2, .pricing h2, .faq h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  background: white;
  padding: 32px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e5e5e7;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pro-badge {
  display: inline-block;
  background: var(--pro);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-right: 4px;
  vertical-align: middle;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.plan {
  background: white;
  padding: 32px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e5e5e7;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan.pro {
  border-color: var(--primary);
}

.plan.pro-popular {
  border-color: var(--primary);
  background: #f0f7ff;
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.plan h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}

.plan li {
  padding: 6px 0;
  color: var(--muted);
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.plan li:last-child { border-bottom: none; }

.buy-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
}

/* FAQ */
.faq {
  background: white;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 32px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
}

/* Footer */
footer {
  background: white;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid #e5e5e7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Page layout (privacy, terms, help, changelog) */
.page {
  background: white;
  margin: 40px auto;
  padding: 48px;
  border-radius: 16px;
  max-width: 720px;
}

.page h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.page h3 {
  font-size: 16px;
  margin: 24px 0 8px;
}

.page p, .page li {
  margin-bottom: 16px;
  color: var(--muted);
}

.page ol, .page ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.page a {
  color: var(--primary);
}

.release {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.release:last-child { border-bottom: none; }

.release h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.release .date {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.release ul {
  margin-left: 20px;
}

.release li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .grid, .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  .tagline { font-size: 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .grid, .plans {
    grid-template-columns: 1fr;
  }
  .page { padding: 32px 24px; margin: 24px auto; }
}
