/* Tabs Memory — Site Styles */
:root {
    --color-primary: #2c4a7c;
    --color-primary-light: #7ba3d4;
    --color-bg: #fafafa;
    --color-card-bg: #ffffff;
    --color-text: #333;
    --color-text-muted: #555;
    --color-text-light: #888;
    --color-border: #e5e5e5;
    --radius: 12px;
    --max-width: 720px;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header */
header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-card-bg);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Main content */
main {
    flex: 1;
    padding: 3rem 0;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-card-bg);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

footer nav {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

footer nav a {
    color: var(--color-primary);
    text-decoration: none;
}

footer nav a:hover {
    text-decoration: underline;
}

/* Share card */
.share-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.share-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.share-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.verse-number {
    font-size: 0.75em;
    font-weight: 700;
    color: var(--color-primary);
    vertical-align: super;
    margin-right: 0.1em;
}

.share-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.share-comment {
    font-style: italic;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    line-height: 1.4;
}

.share-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.share-tag {
    display: inline-block;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
}

.share-type-badge {
    display: inline-block;
    background: var(--color-primary-light);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* CTA section */
.cta-section {
    text-align: center;
    margin: 2.5rem 0;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.app-store-badge {
    display: inline-block;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.75;
}

.app-store-badge img {
    height: 52px;
    width: auto;
}

/* Marketing page — Hero */
.hero {
    text-align: left;
    padding: 1rem 0 2rem;
}

.hero h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero .app-store-badge {
    display: block;
    text-align: center;
}

/* Screenshots carousel */
.screenshots {
    margin: 2.5rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
}

.screenshots-track {
    display: flex;
    gap: 1.25rem;
}

.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: start;
}

.screenshot-item img {
    width: 200px;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.screenshot-item p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Section spacing */
section {
    margin-bottom: 2.5rem;
}

section h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* Features list */
.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.features li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* How it works */
.how-it-works p {
    color: var(--color-text-muted);
}

/* Support card */
.support-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.support-card h2 {
    margin-bottom: 0.75rem;
}

.support-card p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.support-card a {
    color: var(--color-primary);
    text-decoration: none;
}

.support-card a:hover {
    text-decoration: underline;
}

/* Legal pages */
.legal-content {
    padding: 1rem 0;
}

.legal-content h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.25rem;
}

.legal-content a {
    color: var(--color-primary);
}

/* Not found */
.not-found {
    text-align: center;
    padding: 3rem 0;
}

.not-found h1 {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.not-found a {
    color: var(--color-primary);
    text-decoration: none;
}

.not-found a:hover {
    text-decoration: underline;
}
