/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8fafe 0%, #f1f5f9 100%);
    color: #1e293b;
    line-height: 1.7;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.home-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.page-links {
    display: flex;
    gap: 1rem;
}

.page-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.page-links a:hover {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Wrapper */
.content-wrapper {
    padding: 3rem 0;
}

.main-content {
    max-width: none;
    width: 100%;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.content-card h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.content-card h3 {
    font-size: 1.4rem;
    color: #334155;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-card p {
    margin-bottom: 1.2rem;
    text-align: justify;
    color: #475569;
}

/* Featured Quote */
.featured-quote {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.featured-quote p {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.featured-quote cite {
    font-size: 0.9rem;
    color: #64748b;
    font-style: normal;
    font-weight: 500;
}

/* Theory Grid */
.theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theory-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.theory-card h3 {
    font-size: 1.3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.theory-card p {
    color: #475569;
    margin-bottom: 1rem;
}

/* Framework Analysis */
.framework-analysis {
    margin-top: 2rem;
}

.framework-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.framework-item h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.insight-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.insight-box strong {
    color: #1d4ed8;
}

/* Implications Grid */
.implications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.implication-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.implication-card h3 {
    font-size: 1.3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Modern Relevance Section */
.modern-relevance {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.modern-relevance h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.relevance-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.relevance-text p {
    margin-bottom: 1.2rem;
    color: #475569;
}

.stats-sidebar {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.stats-sidebar h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.stat-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* Sidebar */
.sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.sidebar-section h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.concept-list,
.reading-list,
.topic-list {
    list-style: none;
    padding: 0;
}

.concept-list li,
.reading-list li,
.topic-list li {
    margin-bottom: 0.8rem;
    color: #475569;
    font-size: 0.95rem;
}

.concept-list li strong {
    color: #3b82f6;
    font-weight: 600;
}

.reading-list a,
.topic-list li {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.reading-list a:hover {
    color: #3b82f6;
}

/* Sections */
.intro-section,
.theory-section,
.interpretations-section,
.implications-section {
    margin-bottom: 3rem;
}

.theory-section h2,
.interpretations-section h2,
.implications-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer */
.page-footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header .subtitle {
        font-size: 1.1rem;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .theory-grid,
    .implications-grid {
        grid-template-columns: 1fr;
    }
    
    .relevance-content {
        grid-template-columns: 1fr;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .content-card,
    .theory-card,
    .framework-item,
    .implication-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 2rem 0;
    }
    
    .content-card {
        padding: 1rem;
    }
} 