/* CSS Variables for Design System */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8e8;
    --accent-color: #f0f8ff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --container-width: 1100px;
    --header-height: 80px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Header and Navigation */
.site-header {
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    margin-right: 10px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
}

.logo-text span {
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, var(--accent-color), #fff);
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Article Section */
.blog-article-section {
    padding: 60px 0;
}

.full-article {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 15px;
    position: relative;
    list-style: none;
}

.article-content li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.article-content a {
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
}

.article-content a:hover {
    border-bottom-color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.icon-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #999;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: #999;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .full-article {
        padding: 40px;
    }
    .article-header h2 {
        font-size: 2.2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    .main-nav {
        margin: 20px 0;
    }
    .cta-button {
        display: none; /* Hide on mobile for simplicity */
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Additional Page Styles (About/Contact) */
.page-header {
    padding: 80px 0;
    background-color: var(--bg-alt);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
}

.content-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

.contact-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}
