/* MyCollectionView.com – Landing page styles */

:root {
    --color-bg: #f6f5f8;
    --color-surface: #fefefe;
    --color-text: #252b38;
    --color-text-muted: #5c6370;
    --color-accent: #4361ee;
    --color-accent-hover: #3856d4;
    --color-accent-light: #eef2ff;
    --color-border: #e4e2e8;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --max-width: 1100px;
    --space: 1.5rem;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(45, 43, 56, 0.06);
    --shadow-md: 0 4px 12px rgba(45, 43, 56, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

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

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.15rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    padding: 0 0.75rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    line-height: 1;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.logo-icon {
    display: block;
    height: 10.00rem;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 1.75rem;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
}

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--color-text);
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 36em;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Section common */
section {
    padding: 3.5rem 0;
}

section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.section-lead {
    color: var(--color-text-muted);
    margin: 0 0 2rem;
    max-width: 42em;
}

/* Download section */
.download-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.download-section h2 {
    text-align: center;
}

.download-section .section-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-cards--single {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.download-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.14);
}

.download-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.download-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
}

.download-card p {
    color: var(--color-text-muted);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.download-card .btn {
    width: 100%;
    text-align: center;
}

.download-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Features section */
.features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
}

.feature-item p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* About section */
.about-section {
    background: var(--color-accent-light);
    border-top: 1px solid var(--color-border);
}

.about-section .section-lead {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: var(--color-text);
    color: #bbb;
    padding: 2rem 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .main-nav {
        gap: 1.25rem;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
