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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #7c3aed;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(124, 58, 237, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.logo:hover {
    color: #f3f4f6;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-top: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

h1 {
    color: #7c3aed;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    color: #6d28d9;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    border-left: 4px solid #7c3aed;
    padding-left: 1rem;
}

h3 {
    color: #5b21b6;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    color: #6d28d9;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: #374151;
    line-height: 1.7;
}

ul, ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #374151;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Links */
a {
    color: #7c3aed;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #5b21b6;
}

/* Internal Links Section */
.internal-links {
    background-color: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.internal-links h3 {
    color: #6d28d9;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.internal-links ul {
    margin: 0;
    padding-left: 1.5rem;
}

.internal-links li {
    margin-bottom: 0.75rem;
}

.internal-links a {
    color: #7c3aed;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.internal-links a:hover {
    color: #5b21b6;
    border-bottom: 1px solid #7c3aed;
}

/* Resource Links Section */
.resource-links {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.resource-links h3 {
    color: #6d28d9;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.resource-links a {
    display: block;
    color: #7c3aed;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.resource-links a:last-child {
    border-bottom: none;
}

.resource-links a:hover {
    color: #5b21b6;
    padding-left: 0.5rem;
}

/* Homepage Specific Styles */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.section-card {
    background: white;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
    border-color: #c4b5fd;
}

.section-card h3 {
    color: #6d28d9;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.section-card ul {
    margin-left: 1rem;
}

.section-card a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-card a:hover {
    color: #5b21b6;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c4b5fd;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 1rem;
    }
}