/* ── FromBible Website ── */
/* Dark elegant theme matching the app */

:root {
  --bg: #000000;
  --surface: #0A0A0A;
  --card: #141414;
  --card-border: #1F1F1F;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-tertiary: #71717A;
  --accent: #FFFFFF;
  --accent-glow: rgba(255, 255, 255, 0.08);
  --gold: #FFD700;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--text-primary);
}

/* ── Layout ── */

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

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

section {
  padding: 80px 0;
}

/* ── Navigation ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

/* ── Hero ── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-cross {
  margin-bottom: 24px;
  opacity: 0.6;
}

.hero-cross svg {
  width: 48px;
  height: 64px;
}

.nav-cross {
  width: 14px;
  height: 18px;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #FFFFFF, #A1A1AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
  color: var(--bg);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ── Features ── */

.features {
  border-top: 1px solid var(--card-border);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Stats ── */

.stats {
  border-top: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── Testimonials ── */

.testimonials {
  border-top: 1px solid var(--card-border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

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

.testimonial-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* ── CTA Section ── */

.cta-section {
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 16px;
}

.cta-section .section-subtitle {
  margin: 0 auto 40px;
}

/* ── Footer ── */

footer {
  padding: 48px 0;
  border-top: 1px solid var(--card-border);
}

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

.footer-left {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ── Legal Pages ── */

.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-page h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 6px;
}

/* ── Language Selector ── */

.lang-selector {
  position: relative;
}

.lang-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s;
}

.lang-btn:hover {
  border-color: #444;
  color: var(--text-primary);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.lang-selector:hover .lang-dropdown,
.lang-dropdown:hover {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background 0.15s;
}

.lang-dropdown a:hover {
  background: var(--accent-glow);
  color: var(--text-primary);
}

.lang-dropdown a.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nav-links .hide-mobile {
    display: none;
  }
}
