/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f0f0f0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: #0052FF;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo p {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #0052FF;
    background-color: #f8faff;
}

/* Main Content */
main {
    margin: 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0052FF, #0043CC);
    color: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::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="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,82,255,0.15), 0 2px 4px rgba(0,0,0,0.1);
    border-color: #e6f0ff;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category {
    background: #f0f7ff;
    color: #0052FF;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e6f0ff;
}

.date {
    color: #9ca3af;
    font-weight: 500;
}

.news-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.news-content h3 a:hover {
    color: #0052FF;
}

.news-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.read-more {
    color: #0052FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover {
    color: #0043CC;
    transform: translateX(2px);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f7ff;
}

.newsletter h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.newsletter p {
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #0052FF;
    box-shadow: 0 0 0 3px rgba(0,82,255,0.1);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: #0052FF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: #0043CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,82,255,0.25);
}

/* Footer */
footer {
    background: #f8faff;
    color: #1a1a1a;
    margin-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #0052FF;
    font-weight: 600;
}

.footer-section p {
    color: #6b7280;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #0052FF;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    text-align: center;
    color: #9ca3af;
}

/* Article Page Styles */
.article-header {
    background: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.article-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: #6b7280;
    font-weight: 500;
}

.article-content {
    background: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content h3 {
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Page Styles */
.page-header {
    background: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    text-align: center;
}

.page-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-content {
    background: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.page-content h3 {
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0052FF;
    box-shadow: 0 0 0 3px rgba(0,82,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #0052FF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-self: start;
}

.submit-btn:hover {
    background: #0043CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,82,255,0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}