/* Torah Lock — Landing Page Styles */

:root {
  --bg: #FAF7F0;
  --primary: #091B34;
  --gold: #C79F43;
  --gold-light: #d4b36a;
  --muted: #6b7280;
  --border: #e5e1d8;
  --white: #ffffff;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ── Nav ── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* ── Main Content ── */

main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

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

.hero .tagline {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1rem;
  color: var(--muted);
}

/* ── Features ── */

.features {
  padding: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.feature-card .step-number {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

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

.features-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── Description ── */

.description {
  text-align: center;
  padding: 2rem 0;
  max-width: 560px;
  margin: 0 auto;
}

.description p {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.description .accent {
  color: var(--gold);
  font-weight: 500;
}

/* ── Privacy Statement ── */

.privacy-statement {
  text-align: center;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-statement p {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Screenshots ── */

.screenshots {
  padding: 2rem 0;
}

.screenshots h2 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.screenshot-placeholder {
  aspect-ratio: 9 / 19.5;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── CTA ── */

.cta {
  text-align: center;
  padding: 3rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

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

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

.cta-links {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-links a {
  font-size: 0.85rem;
  color: var(--muted);
}

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

/* ── Footer ── */

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

footer p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

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

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
}

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

/* ── Page Content (support) ── */

.page-content {
  padding: 4rem 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-content p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

/* ── Legal Pages (privacy, terms) ── */

.legal-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.legal-content .legal-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.legal-content ul li::before {
  content: "·";
  position: absolute;
  left: 0.25rem;
  color: var(--gold);
  font-weight: 700;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

.legal-content a {
  color: var(--gold);
  font-weight: 500;
}

/* ── Mobile ── */

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  main {
    padding: 0 1.25rem;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
