* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid #f0f0f0;
}

.header-link {
    text-decoration: none;
    color: inherit;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav a.active {
    color: #000;
}

nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    bottom: -5px;
    left: 0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 600;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.app-card {
    width: calc(25% - 23px);
    text-align: center;
    transition: transform 0.2s ease;
}

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

.app-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 22%;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-card .circular-icon {
    border-radius: 50%;
}

.app-card h3 {
    font-size: 16px;
    font-weight: 500;
}

.app-card a {
    text-decoration: none;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
}

@media (max-width: 900px) {
    .app-card {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 700px) {
    .app-card {
        width: calc(50% - 15px);
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav li {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .app-card {
        width: 100%;
    }
}

/* Blog Styles */
.blog-posts-grid {
    display: grid;
    gap: 40px;
    max-width: 800px;
}

.blog-post-card {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.blog-post-card:last-child {
    border-bottom: none;
}

.blog-post-image {
    flex-shrink: 0;
    width: 200px;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post-image:hover img {
    transform: scale(1.05);
}

.blog-post-text {
    flex: 1;
    min-width: 0;
}

.blog-post-meta {
    margin-bottom: 10px;
}

.blog-post-meta time {
    color: #666;
    font-size: 14px;
}

.blog-post-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-post-card h3 a {
    text-decoration: none;
    color: #000;
}

.blog-post-card h3 a:hover {
    color: #0066cc;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Individual Blog Post */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.back-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.post-meta time {
    color: #666;
    font-size: 14px;
}

.blog-post-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.markdown-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.markdown-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
}

.markdown-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 35px 0 18px;
}

.markdown-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.markdown-content p {
    margin-bottom: 20px;
}

.markdown-content a {
    color: #0066cc;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.markdown-content li {
    margin-bottom: 10px;
}

.markdown-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 16px;
}

.markdown-content pre {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.markdown-content pre code {
    background: none;
    padding: 0;
}

.markdown-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-post-card {
        flex-direction: column;
    }

    .blog-post-image {
        width: 100%;
        height: 200px;
    }

    .blog-post-content h1 {
        font-size: 28px;
    }

    .markdown-content {
        font-size: 16px;
    }

    .markdown-content h1 {
        font-size: 26px;
    }

    .markdown-content h2 {
        font-size: 22px;
    }

    .markdown-content h3 {
        font-size: 20px;
    }
} 