* {
    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: #1a1a1a;
    background-color: #fcfcfc;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: bold;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #3d3585;
}

.btn-subscribe {
    background: #3d3585;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-subscribe:hover {
    background: #322a6e;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, rgba(61, 53, 133, 0.05), rgba(241, 240, 245, 0.05));
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Section */
.featured-section {
    padding: 3rem 0;
}

.featured-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.featured-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #3d3585;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.badge {
    background: #f1f0f5;
    color: #3d3585;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.meta-info {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.featured-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.excerpt {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Articles Section */
.articles-section {
    padding: 3rem 0;
    background: rgba(241, 240, 245, 0.3);
}

.articles-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.read-time {
    font-size: 0.75rem;
    color: #666;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card p {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-footer {
    font-size: 0.75rem;
    color: #999;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 4rem 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(to bottom right, rgba(61, 53, 133, 0.1), rgba(241, 240, 245, 0.1));
    padding: 3rem 2rem;
    border-radius: 12px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #3d3585;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #322a6e;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e5e5;
    background: rgba(241, 240, 245, 0.3);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer p {
    color: #666;
    font-size: 0.875rem;
}

.footer a {
    color: #666;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #3d3585;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 1rem;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group a {
    color: #3d3585;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .featured-card h3 {
        font-size: 1.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
