body { font-family: sans-serif; line-height: 1.6; margin: 0 auto; max-width: 800px; padding: 2em; }
header, footer { text-align: center; padding: 1em 0; border-bottom: 1px solid #ccc; }
footer { border-top: 1px solid #ccc; border-bottom: none; margin-top: 2em; }
nav a { margin: 0 15px; text-decoration: none; color: #007bff; }
.breadcrumb { padding: 0.75rem 1rem; margin-bottom: 1rem; list-style: none; background-color: #e9ecef; border-radius: 0.25rem; }
.breadcrumb-item { display: inline-block; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 0.5rem; color: #6c757d; }
.breadcrumb-item.active { color: #6c757d; }
.breadcrumb-item a { color: #007bff; text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
main h1 { color: #333; }
.article-list li { margin-bottom: 0.5em; }
.contact-form { display: flex; flex-direction: column; }
.contact-form input, .contact-form textarea { margin-bottom: 1em; padding: 0.5em; font-size: 1em; }
.contact-form button { padding: 0.7em; background: #007bff; color: white; border: none; cursor: pointer; }
.message { padding: 1em; margin-bottom: 1em; border-radius: 4px; }
.message.success { background-color: #d4edda; color: #155724; }
.message.error { background-color: #f8d7da; color: #721c24; }
.form-control {
    display: inline-block;
    width: 60vw;
    max-width: 500px;
    font-size: 1.1em;
    padding: 0.5em 1em;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #495057;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    margin-right: 0.5em;
}
.btn {
    display: inline-block;
    height: 2.5em;
    width: 20vw;
    max-width: 180px;
    font-size: 1.1em;
    padding: 0.5em 1em;
    border: 1px solid #198754;
    border-radius: 0.25rem;
    background-color: #198754;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}
.youtube-player {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 20px auto;
    cursor: pointer;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.youtube-player img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    pointer-events: none;
    z-index: 1;
}
.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Home page styles */
.hero {
    background-color: #007bff;
    color: white;
    padding: 2em;
    border-radius: 8px;
    margin-bottom: 2em;
    text-align: center;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2em;
}

.stat-card {
    flex: 1 1 200px;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    background: #f9f9f9;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2em;
}

.feature-card {
    flex: 1 1 300px;
    padding: 1em;
    border: 1px solid #ccc;
    border-top: 5px solid #007bff;
    border-radius: 4px;
    background: white;
}

.benefits-section {
    background-color: #f8f9fa;
    padding: 2em 0;
    margin-bottom: 2em;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.benefit-item {
    flex: 1 1 45%;
    display: flex;
    align-items: flex-start;
}

.benefit-item .check {
    color: #28a745;
    margin-right: 0.5em;
    font-size: 1.5em;
}

.use-cases-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2em;
}

.use-case-card {
    flex: 1 1 150px;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    background: white;
}

.testimonials-section {
    background-color: #f8f9fa;
    padding: 2em 0;
    margin-bottom: 2em;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.testimonial-card {
    flex: 1 1 300px;
    padding: 1em;
    border-left: 4px solid #007bff;
    background: white;
    border-radius: 4px;
}

.cta-section {
    background-color: #28a745;
    color: white;
    padding: 2em;
    border-radius: 8px;
    text-align: center;
}

/* About page styles */
.main-how-it-works {
    padding: 2em 0;
    background-color: #f8f9fa;
}

.mhiw__title {
    text-align: center;
    margin-bottom: 2em;
}

.main-block-title h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 0.5em;
}

.main-block-title span {
    color: #666;
    font-size: 1.1em;
}

.mhiw__blocks-tree {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.tree-block {
    flex: 1 1 250px;
    max-width: 300px;
    padding: 1.5em;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.tree-block:hover {
    transform: translateY(-5px);
}

.tb__logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 1em;
}

.tb__title h2 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 1em;
}

.tb__info p {
    color: #666;
    line-height: 1.6;
}

.mgb, .mgl {
    display: none; /* Hide empty placeholder divs */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 1em;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.9em;
    }
    .form-control {
        width: 80vw;
    }
    .btn {
        width: 30vw;
    }
    .stats-grid, .features-grid, .benefits-grid, .use-cases-grid, .testimonials-grid {
        flex-direction: column;
    }
    .benefit-item {
        flex: 1 1 100%;
    }
    .mhiw__blocks-tree {
        flex-direction: column;
        align-items: center;
    }
    .tree-block {
        max-width: 100%;
    }
}
