/* LeanMD Marketing Site Styles
   Design language aligned with LeanMD 0.10 GUI
   Accent: #00A5D9 (official logo cyan)
*/
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --accent: #00A5D9;
  --accent-dark: #0088b8;
  --accent-light: #33b7e3;
  --gray: #64748b;
  --muted: #94a3b8;
  --light: #f8fafc;
  --panel: #f1f5f9;
  --white: #ffffff;
  --dark: #0f172a;
  --border: #e2e8f0;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--navy);
  color: white;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,165,217,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.logo img {
  height: 36px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 auto 1.75rem;
  opacity: 0.92;
  font-weight: 400;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

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

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.screenshot {
  margin: 0 auto;
  max-width: 960px;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.screenshot img {
  width: 100%;
  display: block;
}

section {
  padding: 3.5rem 0;
}

section h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

section .subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--light);
  padding: 1.75rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,165,217,0.08);
}

.feature-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.benefits {
  background: var(--panel);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.benefit {
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

.benefit h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.benefit p {
  color: var(--gray);
  font-size: 0.95rem;
}

.markdown-support {
  background: white;
}

.support-table {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.support-table th, .support-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.support-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}

.support-table tr:hover td {
  background: var(--light);
}

.download-section {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
}

.download-section h2,
.download-section p {
  color: white;
}

.requirements {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 2.5rem 0 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.theme-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  nav ul { gap: 1rem; font-size: 0.9rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  section { padding: 2.5rem 0; }
}