:root {
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --bg-card: #1a1a1a;
    --text: #f5f5f5;
    --text-muted: #888;
    --accent: #ff6b35;
    --accent-glow: rgba(255, 107, 53, 0.15);
    --border: #2a2a2a;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

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

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

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

/* Hero */
.hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero h1 .italic {
    font-style: italic;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.hero-intro a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s;
}

.hero-intro a:hover {
    border-color: var(--accent);
}

/* Newsletter Feature */
.newsletter-feature {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
}

.newsletter-content h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.newsletter-content .tagline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
}

.newsletter-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.newsletter-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cards Grid */
.cards-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.card:hover {
    border-color: var(--text-muted);
    transform: translateY(-4px);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

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

.card-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity 0.2s, transform 0.2s;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Footer */
footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text);
}

/* Page Styles */
.page-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
}

.page-header .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.page-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.page-content p strong {
    color: var(--text);
}

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

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

.page-content h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 3rem 0 1.5rem;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}

.book-card:hover {
    border-color: var(--text-muted);
}

img.book-cover {
    width: 140px;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.book-card:hover img.book-cover {
    transform: scale(1.05);
}

.book-card h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.book-card .publisher {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.book-card a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}

/* Speaking Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.topic-card h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.topic-card p {
    font-size: 0.95rem !important;
    color: var(--text-muted);
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Past Speaking */
.conferences {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.conference-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-cta {
        align-items: flex-start;
    }

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

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

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

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
