/* 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: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    padding: 20px 0;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.site-branding .site-title a {
    text-decoration: none;
    color: #1a365d;
    transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
    color: #00b4d8;
}

.site-branding .site-description {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-icon {
    width: 25px;
    height: 3px;
    background-color: #1a365d;
    margin: 3px 0;
    transition: 0.4s;
}

.main-navigation .menu-container {
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    margin-left: 25px;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation ul li a:hover {
    color: #00b4d8;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00b4d8;
    transition: width 0.3s ease;
}

.main-navigation ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a365d, #0066cc);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.platform-icon {
    margin: 30px 0;
}

.platform-icon img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.platform-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.platform-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a365d;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #00b4d8;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    color: #00b4d8;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a365d;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Instructions Section */
.instructions-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-bottom: 40px;
    border-radius: 10px;
}

.instructions-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #00b4d8;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a365d;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Articles Section */
.articles-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-thumbnail:hover img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-body {
    padding: 15px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.article-title a {
    text-decoration: none;
    color: #1a365d;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #00b4d8;
}

.article-meta {
    display: flex;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.article-meta span {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.article-meta svg {
    margin-right: 5px;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-readmore {
    text-align: right;
}

.read-more-link {
    color: #00b4d8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.read-more-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #ff6b35;
}

.read-more-link:hover::after {
    transform: translateX(3px);
}

.no-articles {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Single Post Styles */
.single-post {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.single-post .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post .entry-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
}

.single-post .entry-meta span {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
}

.single-post .entry-meta svg {
    margin-right: 5px;
}

.single-post .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.single-post .entry-content p {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.single-post .entry-content h2 {
    margin: 30px 0 20px;
    color: #1a365d;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.single-post .entry-content h3 {
    margin: 25px 0 15px;
    color: #0066cc;
    font-weight: 600;
}

.single-post .entry-content ul, 
.single-post .entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.single-post .entry-content li {
    margin-bottom: 10px;
}

.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

.single-post .entry-content code {
    background-color: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.single-post .entry-content pre {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.single-post .entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags, .post-categories {
    margin-bottom: 15px;
}

.tag-label, .category-label {
    font-weight: 600;
    color: #1a365d;
    margin-right: 10px;
}

.post-tags a, .post-categories a {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tags a:hover, .post-categories a:hover {
    background-color: #00b4d8;
    color: #fff;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
    color: #00b4d8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #ff6b35;
}

.meta-nav {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Related Posts */
.related-posts {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.related-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #1a365d;
    position: relative;
    padding-left: 15px;
}

.related-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #00b4d8;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-thumb {
    display: block;
    height: 150px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-thumb img {
    transform: scale(1.05);
}

.related-title-item {
    margin: 0;
    padding: 15px;
    font-size: 1rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.related-title-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    display: block;
}

.related-title-item a:hover {
    color: #00b4d8;
}

/* Comments Section */
.comments-area {
    margin: 40px 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a365d;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.comment-list {
    list-style: none;
    margin: 0 0 30px;
}

.comment-list ol {
    list-style: none;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.comment-author img {
    margin-right: 10px;
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.6;
}

.comment-reply-link {
    color: #00b4d8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.comment-reply-link:hover {
    color: #ff6b35;
}

.comment-form {
    margin-top: 30px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #00b4d8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

.comment-form textarea {
    height: 120px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 15px;
}

.comment-form .submit {
    background-color: #00b4d8;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.comment-form .submit:hover {
    background-color: #009bbd;
}

.no-comments {
    font-style: italic;
    color: #666;
    text-align: center;
    padding: 20px;
}

/* Footer */
.site-footer {
    background-color: #1a365d;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h3, 
.footer-links h4, 
.footer-contact h4 {
    margin-bottom: 20px;
    color: #00b4d8;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3::after, 
.footer-links h4::after, 
.footer-contact h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #ff6b35;
    bottom: 0;
    left: 0;
}

.footer-info p {
    line-height: 1.8;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links ul li a::before {
    content: '→';
    margin-right: 8px;
    color: #00b4d8;
    font-size: 0.8rem;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d4a7e;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .single-post .entry-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .site-branding {
        margin-bottom: 15px;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .main-navigation .menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .main-navigation .menu-container.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    .main-navigation ul li {
        margin: 10px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description,
    .platform-description {
        font-size: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        margin-bottom: 10px;
    }
    
    .features-grid,
    .instructions-steps,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item,
    .step,
    .article-card {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, 
    .nav-next {
        max-width: 100%;
        text-align: center;
    }
    
    .nav-next {
        text-align: center;
    }
    
    .single-post {
        padding: 20px 15px;
    }
    
    .single-post .entry-title {
        font-size: 1.8rem;
    }
    
    .single-post .entry-meta {
        flex-direction: column;
    }
    
    .single-post .entry-meta span {
        margin-bottom: 8px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-thumbnail {
        height: 180px;
    }
    
    .article-card {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .download-buttons .btn {
        width: 100%;
    }
    
    .comments-area,
    .single-post {
        padding: 20px 10px;
    }
}