/* Color scheme from BibleMarker app (biblemarker/src/index.css) */
:root {
    --primary-color: #007aff; /* scripture-accent - iOS blue */
    --primary-dark: #0051d5; /* scripture-accent-muted - hover */
    --text-color: #000000; /* scripture-text */
    --text-light: #8e8e93; /* scripture-muted */
    --bg-color: #ffffff; /* scripture-bg */
    --bg-light: #f2f2f7; /* scripture-elevated */
    --border-color: #c6c6c8; /* scripture-border */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

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

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-download {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 6px;
}

.nav-download:hover {
    background-color: var(--primary-dark);
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Feature Sections */
.feature-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.feature-section.bg-light {
    background-color: var(--bg-light);
}

.feature-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.feature-section img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Downloads Section */
.downloads {
    padding: 3rem 0;
    background-color: var(--bg-color);
    text-align: center;
}

.downloads h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.downloads-free {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.translations-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.download-buttons .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.download-buttons .btn:hover {
    background-color: var(--primary-dark);
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    text-align: left;
}

.dl-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dl-os {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
}

a.dl-btn {
    display: block;
    padding: 0.65rem 1rem;
    background-color: #007aff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s;
}

a.dl-btn:hover {
    background-color: #0051d5;
    color: #ffffff;
}

a.dl-btn.dl-btn-alt {
    background-color: #f2f2f7;
    color: #000000;
    border: 1px solid #c6c6c8;
}

a.dl-btn.dl-btn-alt:hover {
    background-color: #c6c6c8;
    color: #000000;
}

@media (max-width: 600px) {
    .dl-grid {
        grid-template-columns: 1fr;
    }
}

.download-github {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.download-github a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.download-github a:hover {
    text-decoration: underline;
}

.download-hint {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.mobile-stores {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.coming-soon {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 6px;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.cta a:hover {
    text-decoration: underline;
}

/* Content Pages */
.content-page {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-page h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

.content-page .last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.content-page .support-toc {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.content-page .support-toc h2 {
    margin-top: 0;
}

.content-page .support-toc ul {
    list-style: none;
    padding-left: 0;
}

.content-page .support-toc li {
    margin-bottom: 0.5rem;
}

.content-page .shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.content-page .shortcuts-table th,
.content-page .shortcuts-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.content-page .shortcuts-table th {
    font-weight: 600;
    color: var(--text-color);
}

.content-page .shortcuts-table td:first-child {
    font-family: ui-monospace, monospace;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

footer p {
    color: var(--text-light);
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-spears {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .feature-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-section h2 {
        font-size: 1.5rem;
    }

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