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

.mfg-hero {
    background: linear-gradient(135deg, #04121e 0%, #053552 40%, #066c7a 100%);
    color: #fff;
    padding: 140px 0 90px;
}

.hero-copy p a {
    color: #7ff2e0;
}

.hero-copy h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.hero-metrics strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: #7ff2e0;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, #00e0ba, #00ff88);
    color: #03211b;
    padding: 0.9rem 2.4rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 209, 159, 0.35);
}

.hero-board {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.board-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
}

.board-card.highlight {
    background: rgba(0, 255, 162, 0.18);
    border-color: rgba(0, 255, 162, 0.4);
}

.mfg-painpoints {
    background: #f5fbff;
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.section-head h2 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    color: #063749;
}

.section-head p {
    color: #465c66;
}

.section-head.light h2,
.section-head.light p {
    color: #fff;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.pain-grid article {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #d6f3ff;
    box-shadow: 0 12px 28px rgba(3, 28, 35, 0.08);
}

.mfg-flow {
    background: #fff;
    padding: 80px 0;
}

.flow-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.flow-cards article {
    border-radius: 18px;
    border: 1px dashed rgba(0, 210, 155, 0.5);
    background: #edfff8;
    padding: 1.4rem;
}

.flow-cards .step {
    font-size: 0.85rem;
    color: #00bfa5;
    letter-spacing: 0.1em;
}

.mfg-modules {
    background: #04181f;
    color: #fff;
    padding: 80px 0;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.module-grid article {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.8rem;
}

.mfg-templates {
    background: #fff;
    padding: 80px 0;
}

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

.template-grid article {
    border-radius: 16px;
    border: 1px solid #d6f3ff;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(4, 24, 31, 0.08);
}

.mfg-cta {
    background: linear-gradient(120deg, #063749, #0ca77c);
    color: #fff;
    padding: 70px 0;
}

.mfg-cta .mfg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cta-list li {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.cta-list li::before {
    content: "✓";
    color: #00ffa2;
    margin-right: 0.5rem;
}

.modal-qr img {
    width: 220px;
    border-radius: 10px;
    border: 3px solid rgba(0, 255, 162, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(120deg, #00c2ff, #00ffa2);
    color: #031b24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(3, 27, 36, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .mfg-cta .mfg-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-board,
    .pain-grid,
    .flow-cards,
    .module-grid,
    .template-grid {
        grid-template-columns: 1fr;
    }
}


