* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --bg: #000; --fg: #fff; --gray: #86868b; --accent: #0066cc; --border: #333; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; }
header { position: fixed; top: 0; left: 0; right: 0; padding: 20px 40px; background: rgba(0,0,0,0.8); backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid var(--border); }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.nav-links a:hover { color: var(--fg); }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 40px 60px; background: linear-gradient(180deg, #000 0%, #111 50%, #000 100%); }
.hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 24px; background: linear-gradient(135deg, #fff 0%, #888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero .subtitle { font-size: 24px; color: var(--gray); max-width: 600px; margin-bottom: 40px; }
.hero .verse { font-size: 18px; font-style: italic; color: var(--gray); max-width: 800px; padding: 20px 40px; border-left: 2px solid var(--accent); text-align: left; }
.scroll-indicator { position: absolute; bottom: 40px; animation: bounce 2s infinite; }
.scroll-indicator svg { width: 24px; height: 24px; stroke: var(--gray); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
section { padding: 120px 40px; max-width: 1200px; margin: 0 auto; }
section h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 24px; }
section p { font-size: 18px; color: #d1d1d1; margin-bottom: 20px; max-width: 800px; }
.explorer { background: #0a0a0a; border: 1px solid var(--border); border-radius: 24px; padding: 40px; margin: 40px 0; }
.explorer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.theme-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.theme-btn { padding: 8px 16px; border: 1px solid var(--border); background: transparent; color: var(--gray); border-radius: 20px; cursor: pointer; transition: all 0.3s; }
.theme-btn:hover, .theme-btn.active { background: var(--fg); color: var(--bg); }
.scripture-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.scripture-item { background: #151515; border: 1px solid var(--border); border-radius: 12px; padding: 24px; cursor: pointer; transition: all 0.3s; }
.scripture-item:hover { border-color: var(--accent); background: #1a1a1a; }
.scripture-item .ref { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.scripture-item .text { font-size: 14px; color: #ccc; line-height: 1.6; }
.reflection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; margin: 40px 0; }
.reflection-card { background: #151515; border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: all 0.3s; }
.reflection-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.reflection-card .icon { font-size: 32px; margin-bottom: 20px; }
.reflection-card h4 { font-size: 20px; margin-bottom: 16px; }
.reflection-card p { font-size: 15px; color: #aaa; line-height: 1.7; }
.light-container { position: relative; height: 400px; background: #000; border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin: 40px 0; }
.light-beam { position: absolute; width: 4px; height: 100%; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%); animation: beam 4s ease-in-out infinite; }
.light-beam:nth-child(1) { left: 20%; animation-delay: 0s; }
.light-beam:nth-child(2) { left: 40%; animation-delay: 0.5s; }
.light-beam:nth-child(3) { left: 60%; animation-delay: 1s; }
.light-beam:nth-child(4) { left: 80%; animation-delay: 1.5s; }
@keyframes beam { 0%, 100% { opacity: 0.2; transform: scaleY(0.8); } 50% { opacity: 0.6; transform: scaleY(1); } }
.light-text { position: relative; z-index: 10; text-align: center; font-size: 32px; font-weight: 600; }
.light-text span { display: block; font-size: 16px; color: var(--gray); margin-top: 16px; }
.vision-card { background: #151515; border: 1px solid var(--border); border-radius: 24px; padding: 48px; margin: 32px 0; }
.vision-card h3 { font-size: 24px; margin-bottom: 24px; }
footer { padding: 80px 40px; text-align: center; border-top: 1px solid var(--border); }
footer p { color: var(--gray); font-size: 14px; }
footer .verse { font-size: 16px; font-style: italic; color: #666; margin-top: 20px; }
@media (max-width: 768px) { header { padding: 16px 20px; } .nav-links { display: none; } section { padding: 80px 20px; } .explorer, .vision-card { padding: 24px; } }
/* Smooth scrolling is handled in js/nav.js for same-page links only —
   CSS smooth-behavior would also animate the initial anchor jump when
   arriving from another page (top -> slow crawl down). */
body { animation: page-fade 0.3s ease; }
@keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
::selection { background: var(--accent); color: white; }a.logo { color: var(--fg); text-decoration: none; }
.nav-links a.active { color: var(--fg); }
.menu-toggle { display: none; background: none; border: none; color: var(--fg); font-size: 22px; cursor: pointer; padding: 4px 8px; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links.open { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 28px; z-index: 999; }
    .nav-links.open a { font-size: 22px; }
    .menu-toggle { position: relative; z-index: 1000; }
}

/* ── Hero call to action ─────────────────────────────────────────── */
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn { padding: 14px 28px; border-radius: 30px; font-size: 16px; font-weight: 500; text-decoration: none; transition: all 0.3s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #e0e0e0; }
.btn-secondary { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.hero-streak { margin-top: 22px; font-size: 14px; color: var(--gray); letter-spacing: 0.5px; min-height: 20px; }

/* ── Footer links ────────────────────────────────────────────────── */
.footer-links { display: flex; gap: 28px; justify-content: center; margin-top: 28px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--fg); }

/* ── Scroll reveals (class added by js/nav.js; no-JS users unaffected) ── */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-up.revealed { opacity: 1; transform: none; }

/* ── Reduced motion: quiet everything down ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
    body { animation: none; }
    .light-beam { animation: none; }
    .scroll-indicator { animation: none; }
    .reveal-up { opacity: 1; transform: none; transition: none; }
    .streak-cell, .blog-feed, .btn, .blog-post { transition: none !important; }
}
