/* ============================================
   SCOUTED! WEBSITE — style.css
   Series-neutral palette: dark navy + white + gold accent
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f1b2d;
    --navy-light: #1a2d47;
    --slate: #2a3a52;
    --gold: #e8a838;
    --gold-light: #f5c563;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #eef0f3;
    --gray-300: #c5c9d1;
    --gray-500: #7a8293;
    --gray-700: #4a5068;
    --text: #1a1a2e;
    --text-light: #555b6e;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(15, 27, 45, 0.08);
    --shadow-lg: 0 8px 40px rgba(15, 27, 45, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- HERO --- */
.hero {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 80px 24px 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 180%;
    background: radial-gradient(ellipse at 50% 30%, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gray-300);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 28px;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* --- BOOKS SECTION --- */
.books-section {
    padding: 80px 0;
    background: var(--off-white);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

/* Book Card */
.book-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.book-cover {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--gray-100);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Placeholder covers for coming soon */
.book-cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
}

.placeholder-inner {
    text-align: center;
    padding: 24px;
}

.placeholder-flag {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.placeholder-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    display: block;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent, var(--gold));
    border-color: var(--accent);
}

.book-info {
    padding: 20px 24px 24px;
    text-align: center;
}

.book-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.book-tagline {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.book-buy-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    padding: 10px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}

.book-buy-btn:hover {
    background: var(--gold-light);
}

.book-formats {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.book-coming-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    border: 1.5px solid var(--gray-300);
    padding: 6px 18px;
    border-radius: 100px;
}

/* Coming soon cards slightly muted */
.book-card--coming {
    opacity: 0.85;
}

.book-card--coming:hover {
    opacity: 1;
}

/* --- FEATURES --- */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature {
    text-align: center;
    padding: 24px 16px;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- NEWSLETTER --- */
.newsletter-section {
    padding: 72px 0;
    background: var(--navy);
    color: var(--white);
}

.newsletter-section .section-title {
    color: var(--white);
}

.newsletter-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    outline: none;
    transition: background 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.18);
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--gold-light);
}

/* --- FOOTER --- */
.site-footer {
    padding: 48px 0;
    background: var(--navy-light);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.footer-series {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-series strong {
    color: var(--gold);
}

.footer-contact {
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.75rem;
    max-width: 560px;
    margin: 0 auto 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
}

.footer-author {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 56px;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }

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

    .section-title {
        font-size: 1.5rem;
    }
}
