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

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

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: #333;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
    display: block;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.5px;
    display: block;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fbbf24;
    color: #1e40af;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e40af;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card li {
    padding: 0.25rem 0;
    color: #64748b;
}

.feature-card li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta {
    background: #1e40af;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Article Styles */
.article {
    padding: 2rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.article-meta {
    color: #64748b;
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 0.25rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #d1d5db;
}

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

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

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem;
    background: #374151;
    border-radius: 4px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #3b82f6;
}

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

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        transition: left 0.3s;
        padding: 2rem;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Blog List Styles */
.blog-content {
    padding: 2rem 0;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 3rem;
    color: white;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.post-meta time,
.post-meta .author,
.post-meta .reading-time {
    display: flex;
    align-items: center;
}

.post-content h2 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content h2 a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s;
}

.post-content h2 a:hover {
    color: #3b82f6;
}

.post-excerpt {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-weight: 500;
}

.read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1e40af;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

/* Blog Single Post Styles */
.blog-post {
    padding: 2rem 0;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-description {
    font-size: 1.2rem;
    color: #64748b;
    font-style: italic;
    margin-top: 1rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #1e40af;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.blog-post-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
}

.blog-post-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.blog-post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-post-footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.post-navigation {
    margin-bottom: 2rem;
}

.back-to-blog {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: #1e40af;
}

.social-share {
    text-align: center;
}

.social-share h4 {
    margin-bottom: 1rem;
    color: #1e40af;
}

.social-share a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #1e40af;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.social-share a:hover {
    background: #3b82f6;
    color: white;
}

/* Blog List Styles */
.blog-content {
    padding: 2rem 0;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 3rem;
    color: white;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.post-meta time,
.post-meta .author,
.post-meta .reading-time {
    display: flex;
    align-items: center;
}

.post-content h2 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content h2 a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s;
}

.post-content h2 a:hover {
    color: #3b82f6;
}

.post-excerpt {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-weight: 500;
}

.read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1e40af;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

/* Blog Single Post Styles */
.blog-post {
    padding: 2rem 0;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-description {
    font-size: 1.2rem;
    color: #64748b;
    font-style: italic;
    margin-top: 1rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #1e40af;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.blog-post-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
}

.blog-post-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.blog-post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-post-footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.post-navigation {
    margin-bottom: 2rem;
}

.back-to-blog {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: #1e40af;
}

.social-share {
    text-align: center;
}

.social-share h4 {
    margin-bottom: 1rem;
    color: #1e40af;
}

.social-share a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #1e40af;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.social-share a:hover {
    background: #3b82f6;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-share a {
        display: block;
        margin: 0.5rem 0;
    }
}

