/* SimaRecord Pro — shared styles */
:root {
  --bg: #141210;
  --surface: #1C1A17;
  --surface2: #242220;
  --gold: #D4A843;
  --gold-dim: #B8912E;
  --text: #F2EDE6;
  --text-secondary: #A69E93;
  --border: rgba(255,255,255,0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.92rem; text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.page h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page h1 span { color: var(--gold); }
.page .lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.page h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.015em;
}
.page h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.page p { color: var(--text-secondary); margin-bottom: 1rem; }
.page ul, .page ol { color: var(--text-secondary); padding-left: 1.5rem; margin-bottom: 1rem; }
.page li { margin: 0.4rem 0; }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}
.callout strong { color: var(--text); }

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-box h3 { color: var(--text); margin-bottom: 0.5rem; }
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 0.85rem 2.25rem;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 1rem;
}
.cta-button:hover { background: var(--gold-dim); text-decoration: none; }

.compare-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.compare-table th { background: rgba(212,168,67,0.06); color: var(--text); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.check { color: var(--gold); font-weight: 700; }
.cross { color: #6F6A60; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }

footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-links {
  display: flex; justify-content: center; gap: 2rem;
  margin-bottom: 1.5rem; list-style: none; flex-wrap: wrap;
}
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-copy { font-size: 0.82rem; color: var(--text-secondary); opacity: 0.6; }

@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.82rem; }
  .page { padding: 6rem 1.25rem 3rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; font-size: 0.82rem; }
}

/* Blog index */
.blog-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--gold); text-decoration: none; }
.blog-card h3 { color: var(--text); margin-bottom: 0.4rem; }
.blog-card p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }
.blog-card .meta { color: var(--gold); font-size: 0.82rem; margin-top: 0.5rem; }
